Tweaking nginx and env vars
This commit is contained in:
@@ -5,7 +5,7 @@ server {
|
||||
server_name ${NGINX_HOST};
|
||||
|
||||
location /api/ {
|
||||
proxy_pass ${API_PROTOCOL}://${NGINX_API_HOST}:${API_PORT}/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;
|
||||
@@ -13,7 +13,7 @@ server {
|
||||
}
|
||||
|
||||
location /minio/ {
|
||||
proxy_pass ${MINIO_PROTOCOL}://${NGINX_MINIO_HOST}:${MINIO_PORT_INTERNAL}/;
|
||||
proxy_pass http://${NGINX_INTERNAL_HOST}:${MINIO_PORT_INTERNAL}/;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
@@ -22,7 +22,7 @@ server {
|
||||
|
||||
# Reverse proxy for the UI and default catch-all
|
||||
location / {
|
||||
proxy_pass ${UI_PROTOCOL}://${NGINX_UI_HOST}:${UI_PORT}/;
|
||||
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;
|
||||
|
||||
Reference in New Issue
Block a user