ops: Fix install script nginx config parse error

This commit is contained in:
wiz 2024-11-14 07:36:53 +09:00
parent 3b4eda432f
commit 7f784944af
No known key found for this signature in database
GPG Key ID: A394E332255A6173
2 changed files with 9 additions and 3 deletions

View File

@ -2014,9 +2014,9 @@ case $OS in
moused_nondefault_enable="NO"
nginx_enable="YES"
nginx_profiles="mempool"
nginx_mempool_flags="-p /mempool"
nginx_mempool_configfile="/mempool/mempool/nginx/nginx.conf"
#nginx_profiles="mempool"
#nginx_mempool_flags="-p /mempool"
#nginx_mempool_configfile="/mempool/mempool.space/nginx/nginx.conf"
mysql_enable="YES"
mysql_dbdir="/mysql"

View File

@ -42,6 +42,9 @@ http {
#listen [::]:443 ssl http2;
server_name _;
# set cors headers if necessary
set $cors_approved_origin '';
# tor v3
listen 127.0.0.1:81;
set $onion "__NGINX_MEMPOOL_ONION__";
@ -80,6 +83,9 @@ http {
#listen [::]:443 ssl http2;
server_name _;
# set cors headers if necessary
set $cors_approved_origin '';
# tor v3
listen 127.0.0.1:83;
set $onion "__NGINX_LIQUID_ONION__";