From 0796103c332e159e7dc8656da3e23351e41fc602 Mon Sep 17 00:00:00 2001 From: Alex Holliday Date: Mon, 28 Apr 2025 13:34:16 -0700 Subject: [PATCH] update nginx to remove reverse proxy for client --- docker/dist/nginx/conf.d/default.conf | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/docker/dist/nginx/conf.d/default.conf b/docker/dist/nginx/conf.d/default.conf index 0592dcd06..30e51c71c 100755 --- a/docker/dist/nginx/conf.d/default.conf +++ b/docker/dist/nginx/conf.d/default.conf @@ -15,14 +15,14 @@ server { try_files $uri $uri/ /index.html; } - location /api/ { - proxy_pass http://server:5000/api/; - proxy_http_version 1.1; - proxy_set_header Host $host; - proxy_set_header X-Real-IP $remote_addr; - proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; - proxy_set_header X-Forwarded-Proto $scheme; - } + # location /api/ { + # proxy_pass http://server:5000/api/; + # proxy_http_version 1.1; + # proxy_set_header Host $host; + # proxy_set_header X-Real-IP $remote_addr; + # proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; + # proxy_set_header X-Forwarded-Proto $scheme; + # } location /api-docs/ { proxy_pass http://server:5000/api-docs/;