Hi everyone.
I've just added a cert to another subdomain. with certbot --nginx
and I noticed that the following line
include /etc/letsencrypt/options-ssl-nginx.conf;
is not anymore inserted in the nginx server{}
of that new subdomain.
does the lines embed in options-ssl-nginx.conf
are nginx wide ? even insert in a server{}
Thanks.
1 Like
Hi @SpongeBOB , for general nginx information you might find nginx documentation and https://forum.nginx.org/ helpful.
1 Like
Was it perhaps some kind of addition to an already existing server block?
3 Likes
rg305
June 5, 2023, 5:01pm
4
If it has been included in the main HTTP block, then it gets applied to all other blocks therein.
2 Likes
indeed, but it's not the case here.
options-ssl-nginx.conf
is in a server{}
block not http{}
That's why I'm surprised that it appear for one server{}
and not the other.
I'll ask on nginx side and I'll keep you posted anyway
1 Like
system
Closed
July 5, 2023, 7:35pm
6
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.