@@ -11,28 +11,28 @@ func TLS(argv []string, cmdr cmd.Commander) error {
1111Valid commands for tls:
1212
1313tls:info view info about an application's TLS settings
14- tls:force:enable enables the router to enforce https-only requests to an application
15- tls:force:disable disables the router to enforce https-only requests to an application
16- tls:auto:enable enables the router to automatic generation of certificates to an application
17- tls:auto:disable disables the router to automatic generation of certificates to an application
18- tls:auto:issuer add a issuer to an application
14+ tls:auto:issuer set automatic certificate management environment issuer
15+ tls:auto:enable enable automatic certificate management environment
16+ tls:auto:disable disable automatic certificate management environment
17+ tls:force:enable enable https redirects all your visitor requests from http to https
18+ tls:force:disable disable https redirects all your visitor requests from http to https
1919
2020Use 'drycc help [command]' to learn more.
2121`
2222
2323 switch argv [0 ] {
2424 case "tls:info" :
2525 return tlsInfo (argv , cmdr )
26- case "tls:force:enable" :
27- return tlsForceEnable (argv , cmdr )
28- case "tls:force:disable" :
29- return tlsForceDisable (argv , cmdr )
26+ case "tls:auto:issuer" :
27+ return tlsAutoIssuer (argv , cmdr )
3028 case "tls:auto:enable" :
3129 return tlsAutoEnable (argv , cmdr )
3230 case "tls:auto:disable" :
3331 return tlsAutoDisable (argv , cmdr )
34- case "tls:auto:issuer" :
35- return tlsAutoIssuer (argv , cmdr )
32+ case "tls:force:enable" :
33+ return tlsForceEnable (argv , cmdr )
34+ case "tls:force:disable" :
35+ return tlsForceDisable (argv , cmdr )
3636 default :
3737 if printHelp (argv , usage ) {
3838 return nil
0 commit comments