mirror of
https://github.com/DO1JLR/ansible_playbook_servers.git
synced 2024-09-14 19:53:56 +02:00
Adding 37c3.waffel.li redirect
This commit is contained in:
parent
2c7dd8b62b
commit
be927e9ebd
3 changed files with 30 additions and 0 deletions
|
@ -121,6 +121,8 @@ nginx_sites:
|
||||||
- name: 'waffel.li'
|
- name: 'waffel.li'
|
||||||
- name: 'www.waffel.li'
|
- name: 'www.waffel.li'
|
||||||
- name: 'www.camp.waffel.li'
|
- name: 'www.camp.waffel.li'
|
||||||
|
- name: '37c3.waffel.li'
|
||||||
|
- name: 'www.37c3.waffel.li'
|
||||||
- name: 'www.c3woc.org'
|
- name: 'www.c3woc.org'
|
||||||
- name: 'c3woc.eu'
|
- name: 'c3woc.eu'
|
||||||
- name: 'www.c3woc.eu'
|
- name: 'www.c3woc.eu'
|
||||||
|
|
14
templates/files/nginx/sites/37c3.waffel.li_tls.conf
Normal file
14
templates/files/nginx/sites/37c3.waffel.li_tls.conf
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
server {
|
||||||
|
listen 443 ssl http2;
|
||||||
|
listen [::]:443 ssl http2;
|
||||||
|
|
||||||
|
server_name 37c3.waffel.li;
|
||||||
|
|
||||||
|
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://pads.c3w.at/form/#/2/form/view/YSPEX5XoeWAe4rKiLK9GcIEJ+yhPn5pHVJOQciZeDh8/;
|
||||||
|
}
|
||||||
|
}
|
14
templates/files/nginx/sites/www.37c3.waffel.li_tls.conf
Normal file
14
templates/files/nginx/sites/www.37c3.waffel.li_tls.conf
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
server {
|
||||||
|
listen 443 ssl http2;
|
||||||
|
listen [::]:443 ssl http2;
|
||||||
|
|
||||||
|
server_name www.37c3.waffel.li;
|
||||||
|
|
||||||
|
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://37c3.waffel.li$request_uri;
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in a new issue