ungleich-k8s/apps/matrix/element-web-nginx/default.conf

18 lines
449 B
Text
Raw Normal View History

2021-12-24 14:22:37 +00:00
server {
listen 127.0.0.1:8080;
listen [::1]:8080;
server_name localhost;
root /usr/share/nginx/html;
index index.html;
# Set no-cache for the index.html only so that browsers always check for a new copy of Element Web.
location = /index.html {
add_header Cache-Control "no-cache";
}
# redirect server error pages to the static page /50x.html
#
error_page 500 502 503 504 /50x.html;
}