wmnnd / nginx-certbot

Boilerplate configuration for nginx and certbot with docker-compose
MIT License
3.16k stars 1.17k forks source link

404: Not Found #53

Closed dw9694 closed 5 years ago

dw9694 commented 5 years ago
$ curl -s https://raw.githubusercontent.com/certbot/certbot/master/certbot-nginx/certbot_nginx/tls_configs/options-ssl-nginx.conf                                                              
404: Not Found

Originally posted by @dw9694 in https://github.com/wmnnd/nginx-certbot/pull/39#issuecomment-558463376

abhimediratta commented 5 years ago
curl -s https://raw.githubusercontent.com/certbot/certbot/master/certbot-nginx/certbot_nginx/_internal/tls_configs/options-ssl-nginx.conf > "$data_path/conf/options-ssl-nginx.conf"
curl -s https://raw.githubusercontent.com/certbot/certbot/master/certbot/certbot/ssl-dhparams.pem > "$data_path/conf/ssl-dhparams.pem"

With updated URLs^

dw9694 commented 5 years ago

Developers certbot write:

Make the contents of the nginx plugin private

certbot/certbot/pull/7589

vvnsrzn commented 5 years ago

Even if I replace these urls, I'm getting this error:

$ docker-compose run nginx
[emerg] 1#1: unexpected end of file, expecting ";" or "}" in /etc/letsencrypt/options-ssl-nginx.conf:2

I double checked the file and all the semi colons are included.

Do I need to change my app.conf and docker-compose.yml aswell?

wmnnd commented 5 years ago

Thanks everyone for reporting this, the URLs have been fixed in Merge Request #55 .