Guard HTTPS port from plain HTTP

This commit is contained in:
kzolotarev95 committed 2026-06-30 16:15:58 +04:00
1 parent d6b263ada7
commit e5e02bbed5
3 files changed
+8 -2

No files matched your search

+1
View File
@@ -151,6 +151,7 @@ enable_hub_tls() {
[Service]
Environment=OWRT_REMOTE_TLS_CERT=$live_dir/fullchain.pem
Environment=OWRT_REMOTE_TLS_KEY=$live_dir/privkey.pem
Environment=OWRT_REMOTE_EXTRA_PORTS=80
Environment=OWRT_REMOTE_TLS_PORTS=443
Environment=OWRT_REMOTE_PUBLIC_URL=https://$host
EOF