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 / {
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header X-Forwarded-Proto https;
|
||||
proxy_pass_header Server;
|
||||
proxy_set_header Host $http_host;
|
||||
proxy_redirect off;
|
||||
|
||||
if (!-f $request_filename) {
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Scheme $scheme;
|
||||
proxy_connect_timeout 10;
|
||||
proxy_read_timeout 10;
|
||||
proxy_pass http://app_server_{{extended_name}};
|
||||
break;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
error_page 500 502 503 504 /50x.html;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue