Skip to content

Commit

Permalink
Fixes #1711 : SSL connectivity path for ssl keys are changed
Browse files Browse the repository at this point in the history
  • Loading branch information
sridhar391 committed May 22, 2018
1 parent adf2a79 commit fdf7130
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 2 additions & 2 deletions restyaboard-ssl.conf
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
listen 443 ssl;

ssl_certificate /etc/nginx/ssl/restya.com.crt;
ssl_certificate_key /etc/nginx/ssl/restya.com.key;
ssl_certificate /etc/letsencrypt/live/restya.com/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/restya.com/privkey.pem;

ssl_session_cache shared:SSL:1m;
ssl_session_timeout 15m;
Expand Down
2 changes: 0 additions & 2 deletions restyaboard.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1243,8 +1243,6 @@
unzip certbot-master.zip
cd /opt/certbot-master/
sudo -H ./certbot-auto certonly --webroot --no-bootstrap -d $webdir -w $dir
sed -i "s/nginx\/ssl\/restya\.com\.crt/letsencrypt\/live\/$webdir\/fullchain\.pem/g" ${DOWNLOAD_DIR}/restyaboard-ssl.conf
sed -i "s/nginx\/ssl\/restya\.com\.key/letsencrypt\/live\/$webdir\/privkey\.pem/g" ${DOWNLOAD_DIR}/restyaboard-ssl.conf
sed -i "s/restya\.com/$webdir/g" ${DOWNLOAD_DIR}/restyaboard-ssl.conf

sed -i "/client_max_body_size 300M;/r ${DOWNLOAD_DIR}/restyaboard-ssl.conf" /etc/nginx/conf.d/restyaboard.conf
Expand Down

0 comments on commit fdf7130

Please sign in to comment.