Element Web #19

Merged
skobkin merged 4 commits from feature_element into master 2022-03-16 14:21:57 +00:00
Showing only changes of commit 81206ecaa0 - Show all commits

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;