Add mime type mapping for wasm to default Debian nginx config.

This commit is contained in:
Jonathan Lennox 2021-01-27 14:07:02 -05:00 committed by Дамян Минков
parent 79f3756d33
commit 63f0166f75
1 changed files with 4 additions and 0 deletions

View File

@ -1,5 +1,9 @@
server_names_hash_bucket_size 64;
types {
# nginx's default mime.types doesn't include a mapping for wasm
application/wasm wasm;
}
server {
listen 80;
listen [::]:80;