richarvey / nginx-php-fpm

Nginx and php-fpm for dockerhub builds
https://hub.docker.com/repository/docker/richarvey/nginx-php-fpm/general
GNU General Public License v3.0
1.66k stars 852 forks source link

letsencrypt script - wrong path #249

Closed bogomips closed 2 years ago

bogomips commented 6 years ago

hi, In the script /usr/bin/letsencrypt-setup

# change nginx for webroot and domain name sed -i "s/##DOMAIN##/${DOMAIN}/g" /etc/nginx/sites-enabled/default-ssl.conf the above line breaks the script and overwrites the symbolic links. It should be

# change nginx for webroot and domain name sed -i "s/##DOMAIN##/${DOMAIN}/g" /etc/nginx/sites-available/default-ssl.conf