mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-08 00:04:21 +01:00
🎨 Implement HTTPS network serving (#16912)
* Add use TLS for network serving configuration option * kernel: Implement TLS certificate generation * kernel: server: Use https for fixed port proxy when needed * Allow exporting the CA Certificate file * Implement import and export of CA Certs
This commit is contained in:
parent
e7621b7a5f
commit
43ea6757d5
11 changed files with 759 additions and 10 deletions
|
|
@ -36,8 +36,9 @@ type System struct {
|
|||
ConfDir string `json:"confDir"`
|
||||
DataDir string `json:"dataDir"`
|
||||
|
||||
NetworkServe bool `json:"networkServe"` // 是否开启网络伺服
|
||||
NetworkProxy *NetworkProxy `json:"networkProxy"`
|
||||
NetworkServe bool `json:"networkServe"` // 是否开启网络伺服
|
||||
NetworkServeTLS bool `json:"networkServeTLS"` // 是否开启 HTTPS 网络伺服
|
||||
NetworkProxy *NetworkProxy `json:"networkProxy"`
|
||||
|
||||
DownloadInstallPkg bool `json:"downloadInstallPkg"`
|
||||
AutoLaunch2 int `json:"autoLaunch2"` // 0:不自动启动,1:自动启动,2:自动启动+隐藏主窗口
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue