mirror of
https://github.com/YunoHost-Apps/yeswiki_ynh.git
synced 2024-09-03 18:05:56 +02:00
fix(nginx): add mjs mime type
This commit is contained in:
parent
a1d778e138
commit
6ec8193b83
1 changed files with 6 additions and 0 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
# Add .mjs as a file extension for javascript
|
||||||
|
include mime.types;
|
||||||
|
types {
|
||||||
|
text/javascript js mjs;
|
||||||
|
}
|
||||||
|
|
||||||
#sub_path_only rewrite ^__PATH__$ __PATH__/ permanent;
|
#sub_path_only rewrite ^__PATH__$ __PATH__/ permanent;
|
||||||
location __PATH__/ {
|
location __PATH__/ {
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue