Revert "Explicitly define MIME types for website content. Remove unnecessary periods from section comments."
This reverts commit d6c8ce458327c564817e5681a99018d36372c30f.
This commit is contained in:
parent
6266b834ce
commit
2c141318a7
@ -14,7 +14,7 @@ server {
|
||||
listen 80;
|
||||
listen [::]:80;
|
||||
|
||||
# Location
|
||||
# Location.
|
||||
location / {
|
||||
return 301 https://$server_name$request_uri;
|
||||
}
|
||||
@ -22,12 +22,12 @@ server {
|
||||
|
||||
# Server (TLS)
|
||||
server {
|
||||
# General
|
||||
# General.
|
||||
server_name inferencium.net;
|
||||
listen 443 ssl http2;
|
||||
listen [::]:443 ssl http2;
|
||||
|
||||
# Location
|
||||
# Location.
|
||||
location / {
|
||||
root /srv/www/inferencium;
|
||||
index index.html;
|
||||
@ -36,7 +36,7 @@ server {
|
||||
rewrite ^/(.*)/$ /$1 permanent;
|
||||
}
|
||||
|
||||
# Security
|
||||
# Security.
|
||||
ssl_trusted_certificate /etc/letsencrypt/live/inferencium.net/chain.pem;
|
||||
ssl_certificate /etc/letsencrypt/live/inferencium.net/fullchain.pem;
|
||||
ssl_certificate_key /etc/letsencrypt/live/inferencium.net/privkey.pem;
|
||||
@ -67,13 +67,3 @@ server {
|
||||
proxy_set_header Host $http_host;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
}
|
||||
|
||||
# MIME types
|
||||
types {
|
||||
text/html html;
|
||||
text/css css;
|
||||
text/xml xml;
|
||||
text/plain txt;
|
||||
image/png png;
|
||||
image/jpeg jpg;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user