mirror of
https://github.com/linuxserver/reverse-proxy-confs.git
synced 2025-07-06 04:51:33 -07:00
include proxy.conf in portainer subdomain config
This commit is contained in:
parent
61b0468cec
commit
605bd5a2a9
1 changed files with 2 additions and 2 deletions
|
@ -28,6 +28,7 @@ server {
|
|||
# enable for Authelia
|
||||
#include /config/nginx/authelia-location.conf;
|
||||
|
||||
include /config/nginx/proxy.conf;
|
||||
resolver 127.0.0.11 valid=30s;
|
||||
set $upstream_app portainer;
|
||||
set $upstream_port 9000;
|
||||
|
@ -35,7 +36,6 @@ server {
|
|||
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
|
||||
|
||||
proxy_set_header Connection "";
|
||||
proxy_http_version 1.1;
|
||||
proxy_hide_header X-Frame-Options; # Possibly nott needed after Portainer 1.20.0
|
||||
}
|
||||
|
||||
|
@ -51,6 +51,7 @@ server {
|
|||
# enable for Authelia
|
||||
#include /config/nginx/authelia-location.conf;
|
||||
|
||||
include /config/nginx/proxy.conf;
|
||||
resolver 127.0.0.11 valid=30s;
|
||||
set $upstream_app portainer;
|
||||
set $upstream_port 9000;
|
||||
|
@ -59,7 +60,6 @@ server {
|
|||
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection "upgrade";
|
||||
proxy_http_version 1.1;
|
||||
proxy_hide_header X-Frame-Options; # Possibly nott needed after Portainer 1.20.0
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue