Изменения в конфигах nginx
This commit is contained in:
@@ -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 ==========
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user