web: removed duplicate host headers

Fixes: https://github.com/jitsi/docker-jitsi-meet/issues/568
pull/1000/head
Mathieu 4 years ago committed by GitHub
parent ec570baee6
commit cb4d9413b7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      web/rootfs/defaults/meet.conf

@ -81,12 +81,10 @@ location /etherpad/ {
proxy_http_version 1.1; proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade; proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection 'upgrade'; proxy_set_header Connection 'upgrade';
proxy_set_header Host $host;
proxy_cache_bypass $http_upgrade; proxy_cache_bypass $http_upgrade;
proxy_pass {{ .Env.ETHERPAD_URL_BASE }}/; proxy_pass {{ .Env.ETHERPAD_URL_BASE }}/;
proxy_set_header X-Forwarded-For $remote_addr; proxy_set_header X-Forwarded-For $remote_addr;
proxy_buffering off; proxy_buffering off;
proxy_set_header Host {{ .Env.XMPP_DOMAIN }};
} }
{{ end }} {{ end }}

Loading…
Cancel
Save