updated ssl socket for nginx conf
This commit is contained in:
parent
b780ce5527
commit
6a5e97c4c5
1 changed files with 6 additions and 8 deletions
|
|
@ -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;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue