Commit Graph
46 Commits
Author SHA1 Message Date
双向极端andBOX e66f808ed6 Feat/Add custom HTTPS redirect port option for websites (#14491)
* 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>
2026-11-26 14:14:28 +08:00
CityFun a2c2a049c5 feat(website): make default index creation optional when switching PHP version (#14526)
* feat(website): make default index creation optional when switching PHP version

* fix(website): skip default index generation when index.html or index.htm exists
2026-11-25 17:44:38 +08:00
Yuki Guo 21deca4302 feat(website): add batch checkout php version (#14481) 2026-11-20 16:39:37 +08:00
Yuki Guo 47cdf24573 feat(website): auto-allow firewall port when creating website with non-standard port (#14457) 2026-11-18 09:57:01 +08:00
Yuki Guo da70b74e4a feat(website): added backend port detection to the reverse proxy (#14401) 2026-11-13 18:15:36 +08:00
BugPleaseGoandCityFun e11dc5fadd Add Website Template (#13400)
* feat: Add Website Template

* fix: Don't display the template list

* feat: Add Mcp TopList

* docs: Remove Mcp TopList

* Add more languages

---------

Co-authored-by: CityFun <31820853+zhengkunwang223@users.noreply.github.com>
2026-07-31 10:01:20 +08:00
ssongliu 956bf0992a feat: split website log APIs (#12761) 2026-05-21 12:39:49 +08:00
KOMATA 99bcd6d059 feat: add SSL verification option to website proxy configuration (#12258)
* feat: add SSL verification option to website proxy configuration

* localization: update proxy SSL verification messages in multiple languages
2026-03-23 16:32:27 +08:00
MoeShin 8c33eb8409 feat: Operate website proxy config (#12005)
* feat: Operate website proxy config

* chore: Update api comment

* chore: update swagger

* chore: update x-log

* feat: split api
2026-03-03 11:05:00 +08:00
CityFun 1f70646952 feat: Add enable UDP option for TCP/UDP website configuration (#11543) 2026-01-04 15:23:56 +08:00
CityFun c6df20e565 feat: support sync 404 html page to websites (#11513)
Refs https://github.com/1Panel-dev/1Panel/issues/11489
2025-12-29 07:17:34 +00:00
CityFun c477d20a05 feat: support batch SSL configuration for websites (#11339)
Refs https://github.com/1Panel-dev/1Panel/issues/8250
2025-12-15 10:41:38 +00:00
KOMATA 191396c78a fix: Validate StreamPorts in StreamConfig to prevent empty values (#11332) 2025-12-15 10:11:09 +08:00
CityFun ab13ddec48 feat: The website supports TCP/UDP proxying. (#11302)
Refs https://github.com/1Panel-dev/1Panel/issues/5135
Refs https://github.com/1Panel-dev/1Panel/issues/6976
2025-12-11 10:33:03 +00:00
CityFun 08ebbee328 feat: support bach set website group (#10754) 2025-10-24 10:00:14 +00:00
CityFun 49ca336dd6 feat: add cors config for website (#10607) 2025-10-11 08:04:26 +00:00
CityFun 72a0e0200e feat: support config cors in website proxy (#10551)
Refs https://github.com/1Panel-dev/1Panel/issues/7211
Refs https://github.com/1Panel-dev/1Panel/issues/7386
2025-09-30 09:34:22 +00:00
CityFun 464ca8d272 feat: Delete associated database when deleting website (#10535)
Refs https://github.com/1Panel-dev/1Panel/issues/9168
2025-09-29 06:22:19 +00:00
CityFun 2040f8f3b0 feat: support batch operate website (#10415)
Refs https://github.com/1Panel-dev/1Panel/issues/5142
2025-09-19 10:10:01 +00:00
CityFun 6b81ae1b7b feat: Website Add Composer support (#9997)
Refs https://github.com/1Panel-dev/1Panel/issues/6030
2025-08-14 09:46:54 +00:00
Snrat 9eee2d6b6f 添加启用HSTS子域名选项 (#9971)
* Add HSTS Subdomains

* Fix Prettier Error
2025-08-13 09:55:48 +08:00
CityFun 3256ac9f44 feat: Remove database and add website association prompt (#9918) 2025-08-08 20:29:13 +08:00
CityFun 2b7ec9ffe1 feat: Reverse proxy supports configuring server caching (#9914) 2025-08-08 16:59:49 +08:00
CityFun 5ad06f121b fix: fix issue with subsite dir error (#9259) 2025-06-24 10:39:14 +00:00
CityFun 71d92c30e3 feat: add openBaseDir for php website config (#8866) 2025-05-28 10:20:22 +00:00
ChengPlay e5bd5d17ba feat: merge mcp server from dev (#8499) 2025-04-28 07:21:47 +00:00
ChengPlay 9d48e591af fix(website): Add pinning feature for websites. (#8462) 2025-04-23 15:44:59 +08:00
ChengPlay 779260145c feat: Website list supports filtering by type. (#8414)
Refs https://github.com/1Panel-dev/1Panel/issues/6409
2025-04-17 14:24:24 +00:00
zhengkunwang f242f71661 fix: Add length limit to comments (#8055) 2025-03-03 10:46:56 +00:00
ssongliu a627aa9915 feat: merge from dev (#7366)
* feat: merge from dev

* feat: Merge mobile style code from the dev branch
2024-12-17 15:59:21 +08:00
zhengkunwang e5660a0d91 feat: merge from dev (#7238) 2024-12-03 10:12:02 +08:00
zhengkunwang 1e1fce4c77 feat: 网站增加切换数据库功能 (#6592) 2024-09-26 13:59:32 +00:00
zhengkunwang 8a5cb6c946 feat: 网站支持启动 http3 (#6501)
Refs https://github.com/1Panel-dev/1Panel/issues/3641
2024-09-14 10:12:32 +00:00
zhengkunwang 417ad81aa4 feat: 网站增加真实 IP 配置 (#6488)
Refs https://github.com/1Panel-dev/1Panel/issues/1028
2024-09-13 10:42:27 +00:00
zhengkunwang 88961e4ab7 feat: 增加静态网站和 PHP 运行环境网站互相切换功能 (#6452)
Refs https://github.com/1Panel-dev/1Panel/issues/2532
2024-09-11 08:20:15 +00:00
zhengkunwang 1af83c1aeb feat: PHP 运行环境增加配置修改 (#6384) 2024-09-05 13:55:47 +00:00
zhengkunwang 7fb42d7b47 feat: 负载均衡增加源文编辑 (#6153) 2024-08-16 18:09:00 +08:00
zhengkunwang bf82fe743c feat: 网站增加负载均衡管理 (#6144) 2024-08-15 23:15:29 +08:00
zhengkunwang c7c5f75d17 feat: 网站子目录绑定域名 (#6098)
Refs https://github.com/1Panel-dev/1Panel/issues/2336
Refs https://github.com/1Panel-dev/1Panel/issues/6024
2024-08-12 09:08:52 +00:00
zhengkunwang e003d74506 feat: 网站 HTTPS 逻辑优化 (#6074) 2024-08-09 17:05:13 +08:00
zhengkunwang a225d2d79a feat: 优化网站域名添加 (#6069) 2024-08-08 10:26:36 +00:00
zhengkunwang 3d2d4318c7 feat: 网站支持设置 HTTPS 端口 (#6056) 2024-08-08 10:14:28 +08:00
zhengkunwang 2f34e1727f feat: 创建网站支持直接选择 SSL 证书并启用 HTTPS (#6053) 2024-08-07 08:40:35 +00:00
zhengkunwang b359c7d990 feat: 创建 PHP 运行环境网站支持同步创建数据库 (#6051) 2024-08-07 05:52:34 +00:00
zhengkunwang223 0e5d6e825e feat: 创建网站、应用任务化 2024-07-29 18:09:57 +08:00
ssongliu 8d28b7db94 pref: backend 重命名 agent 2024-07-23 14:48:37 +08:00