nginx config

This commit is contained in:
qiaofeng1227 2024-03-13 08:39:02 +08:00
parent 04a8455aca
commit cd83758077
2 changed files with 2 additions and 2 deletions

View file

@ -1,4 +1,4 @@
# modify time: 20240118, you can modify here to trigger Docker Build action # modify time: 202403130838, you can modify here to trigger Docker Build action
# from Dockerfile: https://github.com/NginxProxyManager/nginx-proxy-manager/blob/develop/docker/Dockerfile # from Dockerfile: https://github.com/NginxProxyManager/nginx-proxy-manager/blob/develop/docker/Dockerfile
# from image: https://hub.docker.com/r/jc21/nginx-proxy-manager # from image: https://hub.docker.com/r/jc21/nginx-proxy-manager

View file

@ -103,7 +103,7 @@ server {
} }
location /api/ { location /api/ {
proxy_pass http://websoft9-apphub:8080/; proxy_pass http://websoft9-apphub:8080;
proxy_set_header Host $host; proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;