mirror of
https://github.com/mjl-/mox.git
synced 2024-12-27 08:53:48 +03:00
add hint on how to access your admin endpoint
This commit is contained in:
parent
80bff3c076
commit
ce54c6f1db
2 changed files with 6 additions and 4 deletions
|
@ -123,7 +123,7 @@ type Listener struct {
|
|||
AccountHTTP struct {
|
||||
Enabled bool
|
||||
Port int `sconf:"optional" sconf-doc:"Default 80."`
|
||||
} `sconf:"optional" sconf-doc:"Account web interface, for email users wanting to change their accounts, e.g. set new password, set new delivery rulesets."`
|
||||
} `sconf:"optional" sconf-doc:"Account web interface, for email users wanting to change their accounts, e.g. set new password, set new delivery rulesets. Served at /."`
|
||||
AccountHTTPS struct {
|
||||
Enabled bool
|
||||
Port int `sconf:"optional" sconf-doc:"Default 80."`
|
||||
|
@ -131,7 +131,7 @@ type Listener struct {
|
|||
AdminHTTP struct {
|
||||
Enabled bool
|
||||
Port int `sconf:"optional" sconf-doc:"Default 80."`
|
||||
} `sconf:"optional" sconf-doc:"Admin web interface, for managing domains, accounts, etc. Served at /admin/. Preferrably only enable on non-public IPs."`
|
||||
} `sconf:"optional" sconf-doc:"Admin web interface, for managing domains, accounts, etc. Served at /admin/. Preferrably only enable on non-public IPs. Hint: use 'ssh -L 8080:localhost:80 you@yourmachine' and open http://localhost:8080/admin/, or set up a tunnel (e.g. WireGuard) and add its IP to the mox 'internal' listener."`
|
||||
AdminHTTPS struct {
|
||||
Enabled bool
|
||||
Port int `sconf:"optional" sconf-doc:"Default 443."`
|
||||
|
|
|
@ -193,7 +193,7 @@ describe-static" and "mox config describe-domains":
|
|||
Port: 0
|
||||
|
||||
# Account web interface, for email users wanting to change their accounts, e.g.
|
||||
# set new password, set new delivery rulesets. (optional)
|
||||
# set new password, set new delivery rulesets. Served at /. (optional)
|
||||
AccountHTTP:
|
||||
Enabled: false
|
||||
|
||||
|
@ -208,7 +208,9 @@ describe-static" and "mox config describe-domains":
|
|||
Port: 0
|
||||
|
||||
# Admin web interface, for managing domains, accounts, etc. Served at /admin/.
|
||||
# Preferrably only enable on non-public IPs. (optional)
|
||||
# Preferrably only enable on non-public IPs. Hint: use 'ssh -L 8080:localhost:80
|
||||
# you@yourmachine' and open http://localhost:8080/admin/, or set up a tunnel (e.g.
|
||||
# WireGuard) and add its IP to the mox 'internal' listener. (optional)
|
||||
AdminHTTP:
|
||||
Enabled: false
|
||||
|
||||
|
|
Loading…
Reference in a new issue