diff --git a/docker/web/nginx.conf b/docker/web/nginx.conf index 0b5a096..9fc3e28 100644 --- a/docker/web/nginx.conf +++ b/docker/web/nginx.conf @@ -68,9 +68,6 @@ access_log off; } - # Remove X-Powered-By, which is an information leak - fastcgi_hide_header X-Powered-By; - # The following 2 rules are only needed for the user_webfinger app. # Uncomment it if you're planning to use this app. #rewrite ^/.well-known/host-meta /public.php?service=host-meta last; @@ -167,11 +164,10 @@ access_log off; } - location ~ \.(?:png|html|ttf|ico|jpg|jpeg|bcmap)$ { + location ~ \.(?:png|html|ttf|ico|jpg|jpeg|bcmap|mp4|webm)$ { try_files $uri /index.php$request_uri; # Optional: Don't log access to other assets access_log off; } } - }