nginx/code-server.conf

17 lines
477 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 code.exozy.me;
ssl_certificate /etc/letsencrypt/live/exozy.me/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/exozy.me/privkey.pem;
location / {
proxy_pass http://localhost:6000;
proxy_set_header Host $host;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection upgrade;
proxy_set_header Accept-Encoding gzip;
}
2021-05-22 18:30:52 +00:00
}