Files
florian f98f4521c2
Build Android Apk / android (release) Failing after 8m29s
Build Linux Application / linux (release) Failing after 1m6s
Publish Docker Image / docker (release) Failing after 10m17s
Adding gitea build scripts for Android, Linux GUI and dockerized website
2026-09-01 14:59:13 +02:00

25 lines
680 B
Nginx Configuration File

# Nginx configuration for the static Flutter web bundle.
server {
listen 80;
server_name _;
root /usr/share/nginx/html;
index index.html;
# Everything the bundle cannot resolve itself is answered with the app, so
# that reloading a deep link does not end in a 404.
location / {
try_files $uri $uri/ /index.html;
}
# Both files decide which version of the app the browser gets. They must
# never be cached, otherwise a new deployment is not picked up.
location = /index.html {
add_header Cache-Control "no-store";
}
location = /flutter_service_worker.js {
add_header Cache-Control "no-store";
}
}