Certbot 'include' outside of nginx server block

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?

Hi @wizozi,

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


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