[PR #2982] [MERGED] Server Dashboard SSL Support #4670

Closed
opened 2026-05-05 14:46:30 -06:00 by gitea-mirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/fatedier/frp/pull/2982
Author: @EMREOYUN
Created: 6/16/2022
Status: Merged
Merged: 6/27/2022
Merged by: @fatedier

Base: devHead: patch-1


📝 Commits (10+)

  • 310fc14 Server Dashboard SSL Support
  • 6e1f43e SSL Config Update
  • a76f4c5 SSL Config Definition
  • b02c6ca DashboardTLSMode Config Update
  • 947c043 CMD Dashboard TLS Config
  • af6fcec Dashboard TLS Mode Definition Fix
  • 8d8c42a README update with HTTPS Dashboard
  • a51a5da TLS Config Error changed
  • 807516a HTTPS Handling and TLS Certificate Checking
  • b5ae3d8 Unnecessary configs removed & Read and Write Timeouts added

📊 Changes

5 files changed (+93 additions, -28 deletions)

View changed files

📝 README.md (+15 -0)
📝 cmd/frps/root.go (+34 -25)
📝 conf/frps_full.ini (+5 -0)
📝 pkg/config/server.go (+28 -0)
📝 server/dashboard.go (+11 -3)

📄 Description

Added a simple if-else statement that checks TLSOnly mode enabled. If enabled, serves the dashboard in HTTPS mode. Otherwise, serves the dashboard in HTTP mode.
If TLSCertFile and TLSKeyFile are not used in config but TLSOnly is enabled, the HTTPS dashboard does not loads.

Tested on Debian Linux and Windows Server 2012.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/fatedier/frp/pull/2982 **Author:** [@EMREOYUN](https://github.com/EMREOYUN) **Created:** 6/16/2022 **Status:** ✅ Merged **Merged:** 6/27/2022 **Merged by:** [@fatedier](https://github.com/fatedier) **Base:** `dev` ← **Head:** `patch-1` --- ### 📝 Commits (10+) - [`310fc14`](https://github.com/fatedier/frp/commit/310fc14261af65fcc2a69fa416400a414eba6374) Server Dashboard SSL Support - [`6e1f43e`](https://github.com/fatedier/frp/commit/6e1f43e7e4112a81cff0d79f3e8c02d0fc9f0f89) SSL Config Update - [`a76f4c5`](https://github.com/fatedier/frp/commit/a76f4c5325900e59949575ca85788a89314f24e7) SSL Config Definition - [`b02c6ca`](https://github.com/fatedier/frp/commit/b02c6caade95e31ee35a93094bb7784cc48fe5d5) DashboardTLSMode Config Update - [`947c043`](https://github.com/fatedier/frp/commit/947c043c78a1ef14d0cd75cecf0aadea2b0a1ace) CMD Dashboard TLS Config - [`af6fcec`](https://github.com/fatedier/frp/commit/af6fcecf0e8944536040f2d35a0ecbf18bd4e5a9) Dashboard TLS Mode Definition Fix - [`8d8c42a`](https://github.com/fatedier/frp/commit/8d8c42a4da12894703dbfb9d98063929afc595d8) README update with HTTPS Dashboard - [`a51a5da`](https://github.com/fatedier/frp/commit/a51a5da6f354d1af84d99c1fbe33839677af02a5) TLS Config Error changed - [`807516a`](https://github.com/fatedier/frp/commit/807516a553677dcd9f58027e11c99b39ba845a86) HTTPS Handling and TLS Certificate Checking - [`b5ae3d8`](https://github.com/fatedier/frp/commit/b5ae3d806ad289b6a776cc3945c26c7e62f39f57) Unnecessary configs removed & Read and Write Timeouts added ### 📊 Changes **5 files changed** (+93 additions, -28 deletions) <details> <summary>View changed files</summary> 📝 `README.md` (+15 -0) 📝 `cmd/frps/root.go` (+34 -25) 📝 `conf/frps_full.ini` (+5 -0) 📝 `pkg/config/server.go` (+28 -0) 📝 `server/dashboard.go` (+11 -3) </details> ### 📄 Description Added a simple if-else statement that checks TLSOnly mode enabled. If enabled, serves the dashboard in HTTPS mode. Otherwise, serves the dashboard in HTTP mode. If TLSCertFile and TLSKeyFile are not used in config but TLSOnly is enabled, the HTTPS dashboard does not loads. Tested on Debian Linux and Windows Server 2012. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
gitea-mirror 2026-05-05 14:46:30 -06:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/frp#4670
No description provided.