From 342d8ef5e1d988877efbd1bc5d333640d7523570 Mon Sep 17 00:00:00 2001 From: Patrick Spek Date: Sun, 17 Apr 2022 10:45:53 +0200 Subject: Initial commit --- .../webserver/share/sites.d/nl.tyil.headphones | 35 ++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 playbooks.d/webserver/share/sites.d/nl.tyil.headphones (limited to 'playbooks.d/webserver/share/sites.d/nl.tyil.headphones') diff --git a/playbooks.d/webserver/share/sites.d/nl.tyil.headphones b/playbooks.d/webserver/share/sites.d/nl.tyil.headphones new file mode 100644 index 0000000..9f27f69 --- /dev/null +++ b/playbooks.d/webserver/share/sites.d/nl.tyil.headphones @@ -0,0 +1,35 @@ +#server { +# listen 443 ssl; # managed by Certbot +# listen [::]:443 ssl; # managed by Certbot +# +# server_name headphones.tyil.nl; +# +# ssl_certificate /etc/letsencrypt/live/headphones.tyil.nl/fullchain.pem; +# ssl_certificate_key /etc/letsencrypt/live/headphones.tyil.nl/privkey.pem; +# +# include /etc/nginx/conf.d/ssl.conf; +# include /etc/nginx/conf.d/certbot.conf; +# +# location / { +# proxy_pass http://127.0.0.1:8181; +# } +#} + +server { + listen 80; + listen [::]:80; + + server_name headphones.tyil.nl; + + include /etc/nginx/conf.d/certbot.conf; + + access_log /var/log/nginx/nl.tyil.headphones-access.log; + error_log /var/log/nginx/nl.tyil.headphones-error.log; + +# location / { +# return 301 https://$host$request_uri; +# } + location / { + proxy_pass http://localhost:8181; + } +} -- cgit v1.1