From 0380900104e58afb43d61cf0ca15709c027d11fb Mon Sep 17 00:00:00 2001 From: valitovgaziz Date: Tue, 21 Oct 2025 06:01:55 +0500 Subject: [PATCH] modified: serv_nginx/nginx/nginx-ssl.conf delete redirect to auth --- serv_nginx/nginx/nginx-ssl.conf | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/serv_nginx/nginx/nginx-ssl.conf b/serv_nginx/nginx/nginx-ssl.conf index 513b1fe..6060676 100644 --- a/serv_nginx/nginx/nginx-ssl.conf +++ b/serv_nginx/nginx/nginx-ssl.conf @@ -94,25 +94,6 @@ server { proxy_buffering off; } - # Редирект корневого пути на /auth если нужно - location = / { - return 302 /auth/; - } - - # Static assets with longer cache - location ~* /auth/.*\.(js|css|png|jpg|jpeg|gif|ico|svg|woff|woff2|ttf|eot)$ { - proxy_pass http://keycloak:8080; - 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; - proxy_set_header X-Forwarded-Host $host; - proxy_set_header X-Forwarded-Port $server_port; - - # Cache static assets - expires 1y; - add_header Cache-Control "public, immutable"; - } }