blob: 9f27f695b1c639fd7ea164b4fbc80bf27b10112e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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;
}
}
|