Изменения в конфигах nginx

This commit is contained in:
brusnitsyn
2026-07-28 17:05:21 +09:00
parent 0c14433c07
commit f875730d37
3 changed files with 2 additions and 3 deletions

View File

@@ -91,10 +91,11 @@ server {
# ========== Sentry ==========
location /sentry/ {
proxy_pass http://10.32.0.213:50/;
proxy_set_header Host $host;
proxy_set_header Host $http_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_redirect off;
}
# ========== ОСНОВНОЙ LOCATION ==========

View File

@@ -2,7 +2,6 @@ user application application;
worker_processes auto;
worker_rlimit_nofile 65535;
error_log /var/log/nginx/error.log warn;
pid /var/run/nginx.pid;
events {