Skip to content

Commit

Permalink
fix nginx .mjs mime type
Browse files Browse the repository at this point in the history
  • Loading branch information
lilioid committed Nov 18, 2024
1 parent 22463bf commit 2f4c659
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docker/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@ server {
listen 8000;
server_name default_server;

# nginx currently does not know about the .mjs extensions mime type so we teach it here
include mime.types;
types {
application/javascript mjs;
}

client_max_body_size 1G;

location /static {
Expand Down

0 comments on commit 2f4c659

Please sign in to comment.