mirror of
https://github.com/mjl-/mox.git
synced 2025-07-15 22:04:35 +03:00
fix language in comments
found through goreportcard.com
This commit is contained in:
@ -136,12 +136,12 @@ type Listener struct {
|
||||
Enabled bool
|
||||
Port int `sconf:"optional" sconf-doc:"Default 80."`
|
||||
Path string `sconf:"optional" sconf-doc:"Path to serve admin requests on, e.g. /moxadmin/. Useful if domain serves other resources. Default is /admin/."`
|
||||
} `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."`
|
||||
} `sconf:"optional" sconf-doc:"Admin web interface, for managing domains, accounts, etc. Served at /admin/. Preferably 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."`
|
||||
Path string `sconf:"optional" sconf-doc:"Path to serve admin requests on, e.g. /moxadmin/. Useful if domain serves other resources. Default is /admin/."`
|
||||
} `sconf:"optional" sconf-doc:"Admin web interface listener for HTTPS. Requires a TLS config. Preferrably only enable on non-public IPs."`
|
||||
} `sconf:"optional" sconf-doc:"Admin web interface listener for HTTPS. Requires a TLS config. Preferably only enable on non-public IPs."`
|
||||
MetricsHTTP struct {
|
||||
Enabled bool
|
||||
Port int `sconf:"optional" sconf-doc:"Default 8010."`
|
||||
|
@ -234,7 +234,7 @@ describe-static" and "mox config describe-domains":
|
||||
Path:
|
||||
|
||||
# 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
|
||||
# Preferably 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:
|
||||
@ -247,7 +247,7 @@ describe-static" and "mox config describe-domains":
|
||||
# resources. Default is /admin/. (optional)
|
||||
Path:
|
||||
|
||||
# Admin web interface listener for HTTPS. Requires a TLS config. Preferrably only
|
||||
# Admin web interface listener for HTTPS. Requires a TLS config. Preferably only
|
||||
# enable on non-public IPs. (optional)
|
||||
AdminHTTPS:
|
||||
Enabled: false
|
||||
|
Reference in New Issue
Block a user