-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
StartAutoTLS can't work as expectation #1231
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
The fix proposed by @wangxianzhuo worked for me also. |
the proposed fix activates acme also for standard TLS. the correct way is:
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
I'm running into this issue as well. Can I just submit a PR for this? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Issue Description
I use AutoSTL like this docs https://echo.labstack.com/cookbook/auto-tls, but it doesn't work as my expectation. If I change the func startTLS() to below ,it works.
Checklist
Expected behaviour
Print in browser:
Actual behaviour
When I use my code like docs https://echo.labstack.com/cookbook/auto-tls, it logs below:
But if I change the func startTLS(), I can visit mydomain.cn and it print what I set.
Steps to reproduce
Working code to debug
CGO_ENABLED=0 go build -a -installsuffix cgo -o build/https-test main.go
Version/commit
go version
dep status
The text was updated successfully, but these errors were encountered: