1
0
Fork 0
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:
Éric Gaspar 2024-01-10 16:56:53 +01:00
parent 862ee4f08f
commit 3e9462656e

View file

@ -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 2 rules are only needed for the user_webfinger app.