mirror of
https://github.com/DO1JLR/ansible_playbook_servers.git
synced 2024-09-14 19:53:56 +02:00
30 lines
707 B
Text
30 lines
707 B
Text
server {
|
|
listen 443 ssl http2;
|
|
listen [::]:443 ssl http2;
|
|
|
|
server_name thelaend.xn--see-br-0xa.se thelaend.see-bör.se;
|
|
|
|
include snippets/tls_parameters_{{ site.name }}.snippet.conf;
|
|
include snippets/tls_certificate_{{ site.name }}.snippet.conf;
|
|
include snippets/logging_{{ site.name }}.snippet.conf;
|
|
|
|
location / {
|
|
return 308 https://github.com/thelaend/;
|
|
}
|
|
}
|
|
|
|
# redirect UTF-8 encoded domain... just in case
|
|
server {
|
|
listen 80;
|
|
listen [::]:80;
|
|
|
|
server_name thelaend.see-bör.se;
|
|
|
|
include snippets/logging_{{ site.name }}.snippet.conf;
|
|
|
|
include snippets/acmetool.snippet.conf;
|
|
|
|
location ^~ / {
|
|
return 308 https://thelaend.xn--see-br-0xa.se$request_uri;
|
|
}
|
|
}
|