mirror of
https://github.com/consbio/mbtileserver.git
synced 2024-09-11 07:15:24 +03:00
Clarify domain option
This commit is contained in:
parent
1043e833a6
commit
acbbd67e36
@ -57,7 +57,7 @@ Usage:
|
||||
Flags:
|
||||
-c, --cert string X.509 TLS certificate filename. If present, will be used to enable SSL on the server.
|
||||
-d, --dir string Directory containing mbtiles files. (default "./tilesets")
|
||||
--domain string Domain name of this server
|
||||
--domain string Domain name of this server. NOTE: only used for AutoTLS.
|
||||
--dsn string Sentry DSN
|
||||
-h, --help help for mbtileserver
|
||||
-k, --key string TLS private key
|
||||
@ -428,6 +428,7 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
|
||||
|
||||
<!-- markdownlint-enable -->
|
||||
<!-- prettier-ignore-end -->
|
||||
|
||||
<!-- ALL-CONTRIBUTORS-LIST:END -->
|
||||
|
||||
This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!
|
||||
This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!
|
||||
|
2
main.go
2
main.go
@ -72,7 +72,7 @@ func init() {
|
||||
flags.StringVarP(&certificate, "cert", "c", "", "X.509 TLS certificate filename. If present, will be used to enable SSL on the server.")
|
||||
flags.StringVarP(&privateKey, "key", "k", "", "TLS private key")
|
||||
flags.StringVar(&pathPrefix, "path", "", "URL root path of this server (if behind a proxy)")
|
||||
flags.StringVar(&domain, "domain", "", "Domain name of this server")
|
||||
flags.StringVar(&domain, "domain", "", "Domain name of this server. NOTE: only used for AutoTLS.")
|
||||
flags.StringVarP(&secretKey, "secret-key", "s", "", "Shared secret key used for HMAC authentication")
|
||||
flags.StringVar(&sentryDSN, "dsn", "", "Sentry DSN")
|
||||
flags.BoolVarP(&verbose, "verbose", "v", false, "Verbose logging")
|
||||
|
Loading…
Reference in New Issue
Block a user