Certbot 'include' outside of nginx server block


#1

I have installed let’s encrypt using certbot nginx + ubuntu,
but I see a line of code named include /etc/letsencrypt/options-ssl-nginx.conf
That does not belong to the HTTP or HTTPS nginx server block.

Should I put it in HTTP or HTTPS nginx server block or leave it where it is?

If let that line of code outside server block will it do the intended job or not?


#2

Hi @wizozi,

You should leave it where it is, nginx plugin knows what it does putting that include there :wink:

Cheers,
sahsanu


#3

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.