Hotfix nginx

This commit is contained in:
2025-04-13 23:21:03 -04:00
parent 977bb85cb3
commit c4ac1ff14d
4 changed files with 8 additions and 8 deletions

View File

@@ -25,7 +25,7 @@ server {
# ssl_prefer_server_ciphers on;
location /api/ {
proxy_pass http://${NGINX_INTERNAL_HOST}:5000/api/;
proxy_pass http://${NGINX_INTERNAL_HOST}:${API_PORT}/api/;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
@@ -33,7 +33,7 @@ server {
}
location /minio/ {
proxy_pass http://${NGINX_INTERNAL_HOST}:9001/;
proxy_pass http://${NGINX_INTERNAL_HOST}:${MINIO_INTERNAL_PORT}/;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
@@ -42,7 +42,7 @@ server {
# Reverse proxy for the UI and default catch-all
location / {
proxy_pass http://${NGINX_INTERNAL_HOST}:3000/;
proxy_pass http://${NGINX_INTERNAL_HOST}:${UI_PORT}/;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;