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,8 +12,11 @@ server {
|
||||||
return 302 https://$host$request_uri;
|
return 302 https://$host$request_uri;
|
||||||
}
|
}
|
||||||
|
|
||||||
# "A man is not dead while his name is still spoken." -- Going Postal
|
include /etc/nginx/mime.types;
|
||||||
add_header X-Clacks-Overhead "GNU {{ ', '.join(in_memoriam) }}";
|
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 {
|
server {
|
||||||
|
@ -34,7 +37,10 @@ server {
|
||||||
include "/etc/nginx/snippets/options-proxypass.conf";
|
include "/etc/nginx/snippets/options-proxypass.conf";
|
||||||
}
|
}
|
||||||
|
|
||||||
# "A man is not dead while his name is still spoken." -- Going Postal
|
include /etc/nginx/mime.types;
|
||||||
add_header X-Clacks-Overhead "GNU {{ ', '.join(in_memoriam) }}";
|
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 / {
|
location / {
|
||||||
return 302 https://$host$request_uri;
|
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 {
|
server {
|
||||||
|
@ -33,7 +37,10 @@ server {
|
||||||
try_files $uri $uri.html 404;
|
try_files $uri $uri.html 404;
|
||||||
}
|
}
|
||||||
|
|
||||||
# "A man is not dead while his name is still spoken." -- Going Postal
|
include /etc/nginx/mime.types;
|
||||||
add_header X-Clacks-Overhead "GNU {{ ', '.join(in_memoriam) }}";
|
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