Merge pull request #7304 from pixelfed/fix/docker-sw-cache-and-log-noise

fix(docker): stop caching /sw.js long-term, quiet 200 access logs
pull/7305/head
Shlee 1 week ago committed by GitHub
commit 2e167d21e0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -52,6 +52,11 @@ services:
environment:
# SSL Configuration (handled by reverse proxy)
SSL_MODE: "off"
LOG_OUTPUT_LEVEL: "error"
# TODO: Once the new webui is completed, we will try to handle the service worker cache on that side.
CADDY_SERVER_EXTRA_DIRECTIVES: |
@service_worker path /sw.js
header @service_worker Cache-Control "no-cache"
# PHP Configuration
PHP_POST_MAX_SIZE: "500M"

Loading…
Cancel
Save