* feat(website): add custom HTTPS redirect port option
Allow HTTP-to-HTTPS redirects to omit the local HTTPS port for Cloudflare or other reverse-proxy deployments terminating at 443. Apply the setting to existing websites and update HTTPS settings labels.
(cherry picked from commit 27c1468405)
* feat(website): configure HTTPS redirect port per site
Add a per-site HTTPS redirect port policy next to the HTTP-to-HTTPS option. Sites can inherit the global setting, use the Nginx HTTPS port, or force standard port 443, defaulting existing sites to inheritance.
This supports reverse-proxied sites that need 443 and directly exposed sites that need 8443 on the same host. Global changes now update only inheriting sites, so adjusting one website does not rewrite other sites' redirect rules.
Hide the global custom-port switch when Nginx uses standard port 443.
(cherry picked from commit 301dc15d9d)
* Revert "feat(website): configure HTTPS redirect port per site"
This reverts commit 83d94f6cf9.
The per-site database strategy will be replaced by a config-driven design.
* feat(website): make HTTPS redirect port config-driven
Read the site redirect port from managed nginx rules instead of storing per-site policy in the database. Only update rules matching the old global port, preserve manual configurations, and avoid rewriting sites when the global redirect setting is unchanged.
---------
Co-authored-by: BOX <no@mail.com>