mirror of
https://github.com/YunoHost-Apps/nextcloud_ynh.git
synced 2024-09-03 19:55:57 +02:00
Add .mjs as a file extension
This commit is contained in:
parent
862ee4f08f
commit
3e9462656e
1 changed files with 10 additions and 1 deletions
|
@ -1,4 +1,13 @@
|
||||||
location ^~ /.well-known {
|
# Add .mjs as a file extension for javascript
|
||||||
|
# Either include it in the default mime.types list
|
||||||
|
# or include you can include that list explicitly and add the file extension
|
||||||
|
# only for Nextcloud like below:
|
||||||
|
include mime.types;
|
||||||
|
types {
|
||||||
|
text/javascript js mjs;
|
||||||
|
}
|
||||||
|
|
||||||
|
location ^~ /.well-known {
|
||||||
# The following 6 rules are borrowed from `.htaccess`
|
# The following 6 rules are borrowed from `.htaccess`
|
||||||
|
|
||||||
# The following 2 rules are only needed for the user_webfinger app.
|
# The following 2 rules are only needed for the user_webfinger app.
|
||||||
|
|
Loading…
Add table
Reference in a new issue