22062025 7 51 50 early morning

This commit is contained in:
2025-06-23 05:50:57 +03:00
parent b6dc0a0ef7
commit 01eff2d54a
4 changed files with 49 additions and 18 deletions
+5 -5
View File
@@ -23,16 +23,16 @@ server {
index index.html;
}
location /auth/ {
proxy_pass http://keycloak:8080/; # Имя сервиса из docker-compose
location /auth {
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;
# Важно для Keycloak
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-Port $server_port;
proxy_connect_timeout 600;
proxy_send_timeout 600;
proxy_read_timeout 600;
}
}