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
|
||||
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,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) }}";
|
||||
}
|
||||
|
||||
|
|
|
@ -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) }}";
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue