Skip to content

Commit

Permalink
add gnew domains
Browse files Browse the repository at this point in the history
  • Loading branch information
DO1JLR committed Feb 7, 2021
1 parent 5eae902 commit b259ac3
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 1 deletion.
2 changes: 2 additions & 0 deletions host_vars/web01.l3d.space/vars.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ nginx_sites:
- name: 'www.ansible.l3d.space'
- name: 'l3d.yt'
- name: 'www.l3d.yt'
- name: 'l3d.ch'
- name: 'www.l3d.ch'
- name: 'podcast.c3woc.de'
webroot:
user: 'webwaffelpodcast'
Expand Down
2 changes: 1 addition & 1 deletion roles/nginx2
Submodule nginx2 updated from f14aad to 3dc059
14 changes: 14 additions & 0 deletions templates/files/nginx/sites/l3d.ch_tls.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;

server_name l3d.ch;

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 418;
}
}
14 changes: 14 additions & 0 deletions templates/files/nginx/sites/www.l3d.ch_tls.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;

server_name www.l3d.ch;

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://l3d.ch$request_uri;
}
}

0 comments on commit b259ac3

Please sign in to comment.