From b9d5965aa63b0c97b17477c1ccbca3ec22ef8e0a Mon Sep 17 00:00:00 2001 From: LukeGus Date: Wed, 13 Aug 2025 01:44:40 -0500 Subject: [PATCH] Fix nginx.conf for json import routing --- docker/nginx.conf | 20 +------------------- 1 file changed, 1 insertion(+), 19 deletions(-) diff --git a/docker/nginx.conf b/docker/nginx.conf index 848152f0..c332661a 100644 --- a/docker/nginx.conf +++ b/docker/nginx.conf @@ -54,16 +54,7 @@ http { proxy_set_header X-Forwarded-Proto $scheme; } - location /ssh/db/ { - proxy_pass http://127.0.0.1:8081; - 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 /ssh/bulk-import/ { + location /ssh/ { proxy_pass http://127.0.0.1:8081; proxy_http_version 1.1; proxy_set_header Host $host; @@ -103,15 +94,6 @@ http { proxy_set_header X-Forwarded-Proto $scheme; } - location ~ ^/ssh/config_editor/(recent|pinned|shortcuts) { - proxy_pass http://127.0.0.1:8081; - 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; - } - error_page 500 502 503 504 /50x.html; location = /50x.html { root /usr/share/nginx/html;