Fix domain to use internal proxy

This commit is contained in:
Luis Guzmán 2020-04-10 17:36:44 -05:00
parent c56d7c69e8
commit d2637e2d34
1 changed files with 4 additions and 3 deletions

View File

@ -128,7 +128,8 @@ CREATE USER ${NC_DB_USER}@localhost IDENTIFIED BY '${NC_DB_PASSWD}';
GRANT ALL PRIVILEGES ON ${NC_DB}.* TO '${NC_DB_USER}'@'localhost';
FLUSH PRIVILEGES;
DB
echo "Done!
"
#Tune MariaDB
#mysql_secure_installation
@ -148,8 +149,8 @@ server {
}
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
listen 4444 ssl http2;
listen [::]:4444 ssl http2;
server_name $NC_DOMAIN;
ssl_certificate /etc/letsencrypt/live/$NC_DOMAIN/fullchain.pem;