add hint on how to access your admin endpoint

This commit is contained in:
Mechiel Lukkien 2023-03-05 13:48:24 +01:00
parent 80bff3c076
commit ce54c6f1db
No known key found for this signature in database
2 changed files with 6 additions and 4 deletions

View file

@ -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."`

View file

@ -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