add webassembly to mime type

This commit is contained in:
histausse 2021-05-11 22:34:24 +02:00
parent 1fe48b8a4d
commit f8252fd3c6
Signed by: histausse
GPG key ID: 67486F107F62E9E9
3 changed files with 30 additions and 8 deletions

View file

@ -8,3 +8,12 @@
retries: 3
until: apt_result is succeeded
- name: Add wasm to mime type
lineinfile:
path: /etc/nginx/mime.types
regexp: '\s*application/wasm\s+wasm;$'
line: ' application/wasm wasm;'
owner: root
group: root
mode: '0644'
insertbefore: '}'

View file

@ -12,8 +12,11 @@ server {
return 302 https://$host$request_uri;
}
# "A man is not dead while his name is still spoken." -- Going Postal
add_header X-Clacks-Overhead "GNU {{ ', '.join(in_memoriam) }}";
include /etc/nginx/mime.types;
default_type application/octet-stream;
# "A man is not dead while his name is still spoken." -- Going Postal
add_header X-Clacks-Overhead "GNU {{ ', '.join(in_memoriam) }}";
}
server {
@ -34,7 +37,10 @@ server {
include "/etc/nginx/snippets/options-proxypass.conf";
}
# "A man is not dead while his name is still spoken." -- Going Postal
add_header X-Clacks-Overhead "GNU {{ ', '.join(in_memoriam) }}";
include /etc/nginx/mime.types;
default_type application/octet-stream;
# "A man is not dead while his name is still spoken." -- Going Postal
add_header X-Clacks-Overhead "GNU {{ ', '.join(in_memoriam) }}";
}

View file

@ -11,8 +11,12 @@ server {
location / {
return 302 https://$host$request_uri;
}
# "A man is not dead while his name is still spoken." -- Going Postal
add_header X-Clacks-Overhead "GNU {{ ', '.join(in_memoriam) }}";
include /etc/nginx/mime.types;
default_type application/octet-stream;
# "A man is not dead while his name is still spoken." -- Going Postal
add_header X-Clacks-Overhead "GNU {{ ', '.join(in_memoriam) }}";
}
server {
@ -33,7 +37,10 @@ server {
try_files $uri $uri.html 404;
}
# "A man is not dead while his name is still spoken." -- Going Postal
add_header X-Clacks-Overhead "GNU {{ ', '.join(in_memoriam) }}";
include /etc/nginx/mime.types;
default_type application/octet-stream;
# "A man is not dead while his name is still spoken." -- Going Postal
add_header X-Clacks-Overhead "GNU {{ ', '.join(in_memoriam) }}";
}