fresh2dev / ShinyStudio

A fully Dockerized, self-hosted development environment for teams. Develop where you serve.
https://hub.docker.com/r/dm3ll3n/shinystudio
MIT License
242 stars 40 forks source link

certify.sh: Links for downloading options-ssl-nginx.conf and ssl-dhparams.pem don't work #15

Open kassambara opened 4 years ago

kassambara commented 4 years ago

In the certify.sh, the links for downloading options-ssl-nginx.conf and ssl-dhparams.pem no longer work leading to failures when trying to build ShinyStudio Stack.

https://github.com/dm3ll3n/ShinyStudio/blob/df57dea345ef3af8927c6342da967e8fef8869a7/certify.sh#L23-L27

The links should be updated as follow:

certbot_run "\
apk update && \
apk add curl && \
curl -s https://raw.githubusercontent.com/certbot/certbot/master/certbot-nginx/certbot_nginx/_internal/tls_configs/options-ssl-nginx.conf > /etc/letsencrypt/options-ssl-nginx.conf && \
curl -s https://raw.githubusercontent.com/certbot/certbot/master/certbot/certbot/ssl-dhparams.pem > /etc/letsencrypt/ssl-dhparams.pem"