add webassembly to mime type
This commit is contained in:
parent
1fe48b8a4d
commit
f8252fd3c6
3 changed files with 30 additions and 8 deletions
|
@ -8,3 +8,12 @@
|
||||||
retries: 3
|
retries: 3
|
||||||
until: apt_result is succeeded
|
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: '}'
|
||||||
|
|
|
@ -12,6 +12,9 @@ server {
|
||||||
return 302 https://$host$request_uri;
|
return 302 https://$host$request_uri;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
include /etc/nginx/mime.types;
|
||||||
|
default_type application/octet-stream;
|
||||||
|
|
||||||
# "A man is not dead while his name is still spoken." -- Going Postal
|
# "A man is not dead while his name is still spoken." -- Going Postal
|
||||||
add_header X-Clacks-Overhead "GNU {{ ', '.join(in_memoriam) }}";
|
add_header X-Clacks-Overhead "GNU {{ ', '.join(in_memoriam) }}";
|
||||||
}
|
}
|
||||||
|
@ -34,6 +37,9 @@ server {
|
||||||
include "/etc/nginx/snippets/options-proxypass.conf";
|
include "/etc/nginx/snippets/options-proxypass.conf";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
include /etc/nginx/mime.types;
|
||||||
|
default_type application/octet-stream;
|
||||||
|
|
||||||
# "A man is not dead while his name is still spoken." -- Going Postal
|
# "A man is not dead while his name is still spoken." -- Going Postal
|
||||||
add_header X-Clacks-Overhead "GNU {{ ', '.join(in_memoriam) }}";
|
add_header X-Clacks-Overhead "GNU {{ ', '.join(in_memoriam) }}";
|
||||||
}
|
}
|
||||||
|
|
|
@ -11,6 +11,10 @@ server {
|
||||||
location / {
|
location / {
|
||||||
return 302 https://$host$request_uri;
|
return 302 https://$host$request_uri;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
include /etc/nginx/mime.types;
|
||||||
|
default_type application/octet-stream;
|
||||||
|
|
||||||
# "A man is not dead while his name is still spoken." -- Going Postal
|
# "A man is not dead while his name is still spoken." -- Going Postal
|
||||||
add_header X-Clacks-Overhead "GNU {{ ', '.join(in_memoriam) }}";
|
add_header X-Clacks-Overhead "GNU {{ ', '.join(in_memoriam) }}";
|
||||||
}
|
}
|
||||||
|
@ -33,6 +37,9 @@ server {
|
||||||
try_files $uri $uri.html 404;
|
try_files $uri $uri.html 404;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
include /etc/nginx/mime.types;
|
||||||
|
default_type application/octet-stream;
|
||||||
|
|
||||||
# "A man is not dead while his name is still spoken." -- Going Postal
|
# "A man is not dead while his name is still spoken." -- Going Postal
|
||||||
add_header X-Clacks-Overhead "GNU {{ ', '.join(in_memoriam) }}";
|
add_header X-Clacks-Overhead "GNU {{ ', '.join(in_memoriam) }}";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue