Fix domain to use internal proxy
This commit is contained in:
parent
c56d7c69e8
commit
d2637e2d34
|
@ -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';
|
GRANT ALL PRIVILEGES ON ${NC_DB}.* TO '${NC_DB_USER}'@'localhost';
|
||||||
FLUSH PRIVILEGES;
|
FLUSH PRIVILEGES;
|
||||||
DB
|
DB
|
||||||
|
echo "Done!
|
||||||
|
"
|
||||||
#Tune MariaDB
|
#Tune MariaDB
|
||||||
#mysql_secure_installation
|
#mysql_secure_installation
|
||||||
|
|
||||||
|
@ -148,8 +149,8 @@ server {
|
||||||
}
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 443 ssl http2;
|
listen 4444 ssl http2;
|
||||||
listen [::]:443 ssl http2;
|
listen [::]:4444 ssl http2;
|
||||||
server_name $NC_DOMAIN;
|
server_name $NC_DOMAIN;
|
||||||
|
|
||||||
ssl_certificate /etc/letsencrypt/live/$NC_DOMAIN/fullchain.pem;
|
ssl_certificate /etc/letsencrypt/live/$NC_DOMAIN/fullchain.pem;
|
||||||
|
|
Loading…
Reference in New Issue