element-web. Removing non-working part.

This commit is contained in:
Alexey Skobkin 2022-03-16 17:20:26 +03:00
parent 4d9a759658
commit 81206ecaa0

View file

@ -6,17 +6,6 @@ server {
# see https://github.com/vector-im/element-web/blob/develop/nginx/conf.d/default.conf # see https://github.com/vector-im/element-web/blob/develop/nginx/conf.d/default.conf
location / { location / {
location = /index.html {
add_header Cache-Control "no-cache";
}
location = /version {
add_header Cache-Control "no-cache";
}
# covers config.json and config.hostname.json requests as it is prefix.
location /config {
add_header Cache-Control "no-cache";
}
proxy_set_header Host $host; proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;