Files
ThreadNet-Web/packages/element-web-module-api/docker/nginx-templates/default.conf.template
T
Michael Telatynski 0d32376f8d Add docker bake environment
with support for building an Element Web docker image with build & runtime module loader
with support for building docker images with a module pre-baked in
2025-02-17 09:49:12 +00:00

25 lines
564 B
Plaintext

server {
listen 8080;
server_name localhost;
root /app;
index index.html;
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 {
root /tmp/element-web-config;
add_header Cache-Control "no-cache";
}
location /modules {
root /tmp/element-web-modules;
}
error_page 500 502 503 504 /50x.html;
}