Added NGINX to proxy due to limitations on Unifi External Portal Config

This commit is contained in:
Roger Joys
2026-03-15 16:03:25 -07:00
parent 16770d833b
commit d2fca3324d
2 changed files with 20 additions and 3 deletions

9
nginx.conf Normal file
View File

@@ -0,0 +1,9 @@
server {
listen 80;
location / {
proxy_pass http://portal:8000;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
}