Skip to content

Commit 0eeabaf

Browse files
committed
Rename www.cheesy.at to test.cheesy.at to make the site reachable
https version temporarily disabled until I deploy the certificates
1 parent ea5dac6 commit 0eeabaf

2 files changed

Lines changed: 31 additions & 1 deletion

File tree

‎manifests/nodes/hetz3.black.co.at.pp‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
create_docroot => false,
2828
template => "site/${::fqdn}/nginx-oc.black.co.at.site.erb";
2929

30-
'www.cheesy.at':
30+
'test.cheesy.at':
3131
docroot => 'none',
3232
create_docroot => false,
3333
template => "site/${::fqdn}/nginx-www.cheesy.at.site.erb";
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
server {
2+
server_name test.cheesy.at;
3+
4+
access_log /var/log/nginx/test.cheesy.at.access.log;
5+
error_log /var/log/nginx/test.cheesy.at.error.log debug;
6+
7+
location /.well-known/acme-challenge {
8+
alias /var/lib/hosting/acme;
9+
}
10+
11+
location / {
12+
rewrite ^ https://$server_name$request_uri? permanent;
13+
}
14+
}
15+
<%#
16+
server {
17+
listen 443;
18+
19+
server_name test.cheesy.at;
20+
21+
ssl on;
22+
ssl_certificate /etc/nginx/certs/test.cheesy.at.bundle.crt;
23+
ssl_certificate_key /etc/nginx/certs/test.cheesy.at.key;
24+
25+
access_log /var/log/nginx/test.cheesy.at.access.log;
26+
error_log /var/log/nginx/test.cheesy.at.error.log debug;
27+
28+
root /srv/cheesy.at/site;
29+
index index.html;
30+
} %>

0 commit comments

Comments
 (0)