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:
parent
cd38be370a
commit
ca26f6278c
2 changed files with 22 additions and 20 deletions
|
@ -1,16 +1,17 @@
|
||||||
server {
|
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_parameters_{{ site.name }}.snippet.conf;
|
||||||
include snippets/tls_certificate_{{ site.name }}.snippet.conf;
|
include snippets/tls_certificate_{{ site.name }}.snippet.conf;
|
||||||
include snippets/logging_{{ site.name }}.snippet.conf;
|
include snippets/logging_{{ site.name }}.snippet.conf;
|
||||||
|
|
||||||
root /srv/www/c3woc.de;
|
root /srv/www/c3woc.de;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
try_files $uri $uri/ =404;
|
charset utf-8;
|
||||||
}
|
try_files $uri $uri/ =404;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,16 +1,17 @@
|
||||||
server {
|
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_parameters_{{ site.name }}.snippet.conf;
|
||||||
include snippets/tls_certificate_{{ site.name }}.snippet.conf;
|
include snippets/tls_certificate_{{ site.name }}.snippet.conf;
|
||||||
include snippets/logging_{{ site.name }}.snippet.conf;
|
include snippets/logging_{{ site.name }}.snippet.conf;
|
||||||
|
|
||||||
root /srv/www/preview.c3woc.de;
|
root /srv/www/preview.c3woc.de;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
try_files $uri $uri/ =404;
|
charset utf-8;
|
||||||
}
|
try_files $uri $uri/ =404;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue