1
0
Fork 0
mirror of https://github.com/DO1JLR/ansible_playbook_servers.git synced 2024-09-14 19:53:56 +02:00

Fix template utf-8

This commit is contained in:
L3D 2021-08-21 23:24:39 +02:00
parent cd38be370a
commit ca26f6278c
Signed by: l3d
GPG key ID: CD08445BFF4313D1
2 changed files with 22 additions and 20 deletions

View file

@ -1,16 +1,17 @@
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
listen 443 ssl http2;
listen [::]:443 ssl http2;
server_name c3woc.de;
server_name c3woc.de;
include snippets/tls_parameters_{{ site.name }}.snippet.conf;
include snippets/tls_certificate_{{ site.name }}.snippet.conf;
include snippets/logging_{{ site.name }}.snippet.conf;
include snippets/tls_parameters_{{ site.name }}.snippet.conf;
include snippets/tls_certificate_{{ site.name }}.snippet.conf;
include snippets/logging_{{ site.name }}.snippet.conf;
root /srv/www/c3woc.de;
root /srv/www/c3woc.de;
location / {
try_files $uri $uri/ =404;
}
location / {
charset utf-8;
try_files $uri $uri/ =404;
}
}

View file

@ -1,16 +1,17 @@
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
listen 443 ssl http2;
listen [::]:443 ssl http2;
server_name preview.c3woc.de;
server_name preview.c3woc.de;
include snippets/tls_parameters_{{ site.name }}.snippet.conf;
include snippets/tls_certificate_{{ site.name }}.snippet.conf;
include snippets/logging_{{ site.name }}.snippet.conf;
include snippets/tls_parameters_{{ site.name }}.snippet.conf;
include snippets/tls_certificate_{{ site.name }}.snippet.conf;
include snippets/logging_{{ site.name }}.snippet.conf;
root /srv/www/preview.c3woc.de;
root /srv/www/preview.c3woc.de;
location / {
try_files $uri $uri/ =404;
}
location / {
charset utf-8;
try_files $uri $uri/ =404;
}
}