diff --git a/element-web/nginx/element.conf b/element-web/nginx/element.conf index d443760..e3dd7f5 100644 --- a/element-web/nginx/element.conf +++ b/element-web/nginx/element.conf @@ -6,17 +6,6 @@ server { # see https://github.com/vector-im/element-web/blob/develop/nginx/conf.d/default.conf 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 X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;