nginx/server.conf

17 lines
507 B
Text
Raw Normal View History

2021-05-22 18:30:52 +00:00
server {
2021-06-17 03:28:04 +00:00
listen 443 ssl http2;
listen [::]:443 ssl http2;
2021-05-25 03:24:31 +00:00
server_name server.exozy.me;
ssl_certificate /etc/letsencrypt/live/exozy.me/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/exozy.me/privkey.pem;
location / {
2021-07-03 01:47:55 +00:00
proxy_pass http://127.0.0.1:6001;
2021-06-12 21:00:59 +00:00
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto https;
2021-05-25 03:24:31 +00:00
}
2021-05-22 18:30:52 +00:00
}