mirror of
https://github.com/Websoft9/websoft9.git
synced 2024-11-25 17:10:27 +00:00
Update initproxy.conf
This commit is contained in:
parent
6039b5dc5e
commit
40f24969c7
1 changed files with 12 additions and 0 deletions
|
@ -43,6 +43,18 @@ server {
|
|||
proxy_http_version 1.1;
|
||||
}
|
||||
|
||||
location /nginxproxymanager/ {
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Forwarded-Scheme $scheme;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
proxy_set_header X-Forwarded-For $remote_addr;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_pass http://172.17.0.1:9092/;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection $http_connection;
|
||||
proxy_http_version 1.1;
|
||||
}
|
||||
|
||||
location / {
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection $http_connection;
|
||||
|
|
Loading…
Reference in a new issue