Nginx configuration tweak, symlink fix

pull/332/head
Piero Toffanin 2017-11-17 15:33:55 -05:00
rodzic 275ea5f0f6
commit 80d34e25a1
2 zmienionych plików z 3 dodań i 3 usunięć

Wyświetl plik

@ -39,5 +39,5 @@ fi
if [ -e "letsencrypt/live/$DOMAIN" ]; then
ln -vs "../letsencrypt/live/$DOMAIN/privkey.pem" ssl/key.pem
ln -vs "../letsencrypt/live/$DOMAIN/chain.pem" ssl/cert.pem
ln -vs "../letsencrypt/live/$DOMAIN/fullchain.pem" ssl/cert.pem
fi

Wyświetl plik

@ -41,8 +41,8 @@ http {
server_name $WO_HOST;
ssl on;
ssl_certificate /webodm/nginx/ssl/cert.pem
ssl_certificate_key /webodm/nginx/ssl/key.pem
ssl_certificate /webodm/nginx/ssl/cert.pem;
ssl_certificate_key /webodm/nginx/ssl/key.pem;
keepalive_timeout 5;