new login domain
This commit is contained in:
parent
e34873a42a
commit
54ef855af8
@ -108,6 +108,10 @@ server {
|
||||
root /var/www/html;
|
||||
}
|
||||
listen 443;
|
||||
location = /robots.txt {
|
||||
add_header Content-Type text/plain;
|
||||
return 200 "User-agent: *\nDisallow: /\n";
|
||||
}
|
||||
location / {
|
||||
proxy_pass http://bernie/;
|
||||
proxy_intercept_errors on;
|
||||
@ -121,3 +125,30 @@ server {
|
||||
ssl_certificate /etc/letsencrypt/live/club.ligalytics.com/fullchain.pem; # managed by Certbot
|
||||
ssl_certificate_key /etc/letsencrypt/live/club.ligalytics.com/privkey.pem; # managed by Certbot
|
||||
}
|
||||
|
||||
|
||||
|
||||
server {
|
||||
server_name login.ligalytics.com;
|
||||
error_page 400 401 402 403 404 500 501 502 503 504 /maintenance.html;
|
||||
location /maintenance.html {
|
||||
root /var/www/html;
|
||||
}
|
||||
listen 443;
|
||||
location = /robots.txt {
|
||||
add_header Content-Type text/plain;
|
||||
return 200 "User-agent: *\nDisallow: /\n";
|
||||
}
|
||||
location / {
|
||||
proxy_pass http://bernie/;
|
||||
proxy_intercept_errors on;
|
||||
proxy_set_header HOST login.ligalytics.com;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_connect_timeout 5;
|
||||
proxy_read_timeout 240;
|
||||
#root /var/www/html;
|
||||
#index maintenance.html;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user