-
Notifications
You must be signed in to change notification settings - Fork 458
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
Error when Enable TLS #230
Comments
Which version of Nginx are you using? I test on v1.24.0, it works fine. |
i use version nginx/1.25.3 |
ok, i will test for this verison |
I also test with the latest build of Nginx UI and nginx 1.25.3 but cannot reproduce this issue |
It is enabled. By the way, I used apt install nginx from offical mainline repo. |
yeah, I use Nginx build from source. I will check again with apt |
Maybe I should prepare the certificate at first by using http server, then create the https server from the configuration of http server. |
I also think it's a good idea to sign SSL and make sure it's successful before creating an https server to avoid unnecessary errors. |
humh, I tried testing with apt install nginx from official mainline repo. And still got the error. it's hard to understand
Output of
virtual host:
HTTP Context
|
Well, I found out the reason, this issue only occurs when this site is the only one enabled site. So, I have to change the processing order which is mention in #230 (comment). |
I have the same issue and i have only one site enabled |
jacky fixed it here: 17d6216 |
Describe the bug
Nginx Configuration Parse Error when Enable TLS after
Add Site
To Reproduce
Steps to reproduce the behavior:
Encrypt website with Let's Encrypt
-> NextScreenshots
Info:
Additional context
The text was updated successfully, but these errors were encountered: