From 7f784944af710d940487639027906b56fa9f76cd Mon Sep 17 00:00:00 2001 From: wiz Date: Thu, 14 Nov 2024 07:36:53 +0900 Subject: [PATCH] ops: Fix install script nginx config parse error --- production/install | 6 +++--- production/nginx/nginx.conf | 6 ++++++ 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/production/install b/production/install index 1cac9e8e9..05b12c08e 100755 --- a/production/install +++ b/production/install @@ -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" diff --git a/production/nginx/nginx.conf b/production/nginx/nginx.conf index 169faab30..81c0c01d5 100644 --- a/production/nginx/nginx.conf +++ b/production/nginx/nginx.conf @@ -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__";