mirror of
https://github.com/hoellen/docker-nextcloud.git
synced 2025-07-01 15:46:13 +00:00
chore: update nginx configuration
- update static file extensions - add mjs to mimetype https://github.com/hoellen/docker-nextcloud/issues/60 - remove legacy header https://github.com/hoellen/docker-nextcloud/pull/61
This commit is contained in:
@ -9,6 +9,11 @@ events {
|
||||
|
||||
http {
|
||||
include /etc/nginx/mime.types;
|
||||
# Add .mjs as a file extension for javascript
|
||||
# https://github.com/nextcloud/server/pull/36057
|
||||
types {
|
||||
application/javascript mjs;
|
||||
}
|
||||
default_type application/octet-stream;
|
||||
|
||||
access_log /nginx/logs/access.log combined;
|
||||
|
Reference in New Issue
Block a user