nginx/server.conf

19 lines
593 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;
2021-11-25 04:08:25 +00:00
include /etc/letsencrypt/options-ssl-nginx.conf;
ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem;
add_header Strict-Transport-Security "max-age=31536000" always;
ssl_trusted_certificate /etc/letsencrypt/live/exozy.me/chain.pem;
ssl_stapling on;
ssl_stapling_verify on;
2021-05-25 03:24:31 +00:00
location / {
2021-11-30 14:33:10 +00:00
proxy_pass http://localhost:6000;
2021-05-25 03:24:31 +00:00
}
2021-05-22 18:30:52 +00:00
}