Add HTTPS support to web UI

This commit is contained in:
nucleogenic
2022-08-01 13:47:23 +01:00
parent 136e915f0c
commit 0a17633de3
2 changed files with 27 additions and 0 deletions
@@ -3,6 +3,16 @@
server {
listen [::]:80 default_server;
listen 80 default_server;
listen 443 ssl http2;
listen [::]:443 ssl http2;
ssl_certificate /etc/ssl/certs/rascsi-web.crt;
ssl_certificate_key /etc/ssl/private/rascsi-web.key;
ssl_session_timeout 1d;
ssl_session_cache shared:MozSSL:10m;
ssl_session_tickets off;
ssl_protocols TLSv1.3;
ssl_prefer_server_ciphers off;
location / {
proxy_pass http://127.0.0.1:8080;