-
-
Notifications
You must be signed in to change notification settings - Fork 156
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
Missing file: /etc/letsencrypt/options-ssl-nginx.conf #105
Comments
Hmm, I have not come across that file before and running I would probably add this manually, and then make sure you load this before any of your other configuration files |
Hi Jonas, thanks for the quick feedback. When searching for Quoting StackOverflow:
|
I do not see this file at all after installing certbot via pip, so perhaps it is not included there and no obvious indications to additional installation parameters. People have asked about including additional configuration files before, but I would like to keep this image as close to the parent Nginx image as possible (with the exception of automatic certificate generation). So I do not think it is up to us to provide it to all users, but instead let everyone include whatever they like by themselves. If it were me that wanted to add this configuration I would want it prominently displayed in my conf.d/ folder so I know exactly what configuration is currently running on my setup. So I would actually like to suggest you do the same, and name it in such a way that it loads before any of your sever declarations. Furthermore, that config could perhaps be made even more strict:
|
I understand your points. I was hoping that |
Before I found your image I tried to implement nginx + certbot following this guide. The author recommends including the file
/etc/letsencrypt/options-ssl-nginx.conf
becauseHowever when I add
include /etc/letsencrypt/options-ssl-nginx.conf;
to my server config file inuser_conf.d
I get the errorSo apparently that file is not provided nor created by
certbot
?The text was updated successfully, but these errors were encountered: