From 81206ecaa08e3b542c013662081d81d9e86f93ea Mon Sep 17 00:00:00 2001 From: Alexey Skobkin Date: Wed, 16 Mar 2022 17:20:26 +0300 Subject: [PATCH] element-web. Removing non-working part. --- element-web/nginx/element.conf | 11 ----------- 1 file changed, 11 deletions(-) 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;