fix(core): update

This commit is contained in:
Philipp Kunz 2019-01-19 11:07:14 +01:00
parent 33833fbc6c
commit 9e01bdb8e2

View File

@ -88,12 +88,14 @@ export let getHostConfigString = (hostNameArg: string, destinationIpArg: string)
}
server {
listen *:443 ssl;
listen *:443 ssl http2;
server_name ${hostNameArg};
ssl_certificate ${paths.nginxHostDirPath}/${hostNameArg}.public.pem;
ssl_certificate_key ${paths.nginxHostDirPath}/${hostNameArg}.private.pem;
location / {
http2_push_preload on;
proxy_http_version 1.1;
proxy_redirect off;
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;