Update services/nginx/docker/nginx.conf.d/lms.lan.conf
All checks were successful
Portainer stack nginx / deploy (push) Successful in 2s
All checks were successful
Portainer stack nginx / deploy (push) Successful in 2s
This commit is contained in:
@@ -2,6 +2,8 @@ server {
|
|||||||
listen 80;
|
listen 80;
|
||||||
proxy_buffering off;
|
proxy_buffering off;
|
||||||
server_name lms.lan;
|
server_name lms.lan;
|
||||||
|
|
||||||
|
location / {
|
||||||
proxy_pass http://lms-lms-1:9000/;
|
proxy_pass http://lms-lms-1:9000/;
|
||||||
proxy_set_header Host $http_host;
|
proxy_set_header Host $http_host;
|
||||||
proxy_set_header X-Real-IP $remote_addr;
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
@@ -14,6 +16,7 @@ server {
|
|||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade $http_upgrade;
|
||||||
proxy_set_header Connection "upgrade";
|
proxy_set_header Connection "upgrade";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
Reference in New Issue
Block a user