nextjs
This commit is contained in:
parent
8b12da411e
commit
65933cc465
@ -22,7 +22,7 @@ server {
|
|||||||
#set_cookie_flag HttpOnly Secure;
|
#set_cookie_flag HttpOnly Secure;
|
||||||
#proxy_cookie_path / "/; secure; HTTPOnly; SameSite=strict";
|
#proxy_cookie_path / "/; secure; HTTPOnly; SameSite=strict";
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://localhost:5000;
|
proxy_pass http://localhost:5001;
|
||||||
proxy_intercept_errors on;
|
proxy_intercept_errors on;
|
||||||
error_page 404 502 503 504 = @fallback;
|
error_page 404 502 503 504 = @fallback;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -96,6 +96,21 @@ server {
|
|||||||
#root /var/www/html;
|
#root /var/www/html;
|
||||||
#index maintenance.html;
|
#index maintenance.html;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
location /urc/ {
|
||||||
|
proxy_pass http://bernie:3000/singleteam/;
|
||||||
|
#rewrite ^/singleteam(.*)$ $1 break;
|
||||||
|
proxy_intercept_errors on;
|
||||||
|
proxy_set_header Host team.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;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
ssl_certificate /etc/letsencrypt/live/team.ligalytics.com/fullchain.pem; # managed by Certbot
|
ssl_certificate /etc/letsencrypt/live/team.ligalytics.com/fullchain.pem; # managed by Certbot
|
||||||
ssl_certificate_key /etc/letsencrypt/live/team.ligalytics.com/privkey.pem; # managed by Certbot
|
ssl_certificate_key /etc/letsencrypt/live/team.ligalytics.com/privkey.pem; # managed by Certbot
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user