fix(core): update

This commit is contained in:
2019-01-17 02:50:32 +01:00
parent fcf9a61b1d
commit 92eaf5f19a
2 changed files with 5 additions and 2 deletions

View File

@ -90,8 +90,11 @@ export let getHostConfigString = (hostNameArg: string, destinationIpArg: string)
ssl_certificate_key ${paths.nginxHostDirPath}/${hostNameArg}.private.pem;
location / {
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_pass http://${hostNameArg};
include /etc/nginx/proxy_params;
}
location ~ /\.git {
deny all;