diff options
Diffstat (limited to 'playbooks.d/webserver/share/sites.d/nl.tyil.headphones')
-rw-r--r-- | playbooks.d/webserver/share/sites.d/nl.tyil.headphones | 35 |
1 files changed, 35 insertions, 0 deletions
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; + } +} |