updated ssl socket for nginx conf

This commit is contained in:
ronny abraham 2023-10-03 17:01:33 +03:00
parent b780ce5527
commit 6a5e97c4c5

View file

@ -34,16 +34,14 @@ server {
} }
location / { location / {
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_pass_header Server;
proxy_set_header X-Forwarded-Proto https;
proxy_set_header Host $http_host; proxy_set_header Host $http_host;
proxy_redirect off; proxy_redirect off;
proxy_set_header X-Real-IP $remote_addr;
if (!-f $request_filename) { proxy_set_header X-Scheme $scheme;
proxy_pass http://app_server_{{extended_name}}; proxy_connect_timeout 10;
break; proxy_read_timeout 10;
} proxy_pass http://app_server_{{extended_name}};
} }
error_page 500 502 503 504 /50x.html; error_page 500 502 503 504 /50x.html;