Skip to content

Commit 7f78494

Browse files
committed
ops: Fix install script nginx config parse error
1 parent 3b4eda4 commit 7f78494

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

Diff for: production/install

+3-3
Original file line numberDiff line numberDiff line change
@@ -2014,9 +2014,9 @@ case $OS in
20142014
moused_nondefault_enable="NO"
20152015
20162016
nginx_enable="YES"
2017-
nginx_profiles="mempool"
2018-
nginx_mempool_flags="-p /mempool"
2019-
nginx_mempool_configfile="/mempool/mempool/nginx/nginx.conf"
2017+
#nginx_profiles="mempool"
2018+
#nginx_mempool_flags="-p /mempool"
2019+
#nginx_mempool_configfile="/mempool/mempool.space/nginx/nginx.conf"
20202020
20212021
mysql_enable="YES"
20222022
mysql_dbdir="/mysql"

Diff for: production/nginx/nginx.conf

+6
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,9 @@ http {
4242
#listen [::]:443 ssl http2;
4343
server_name _;
4444

45+
# set cors headers if necessary
46+
set $cors_approved_origin '';
47+
4548
# tor v3
4649
listen 127.0.0.1:81;
4750
set $onion "__NGINX_MEMPOOL_ONION__";
@@ -80,6 +83,9 @@ http {
8083
#listen [::]:443 ssl http2;
8184
server_name _;
8285

86+
# set cors headers if necessary
87+
set $cors_approved_origin '';
88+
8389
# tor v3
8490
listen 127.0.0.1:83;
8591
set $onion "__NGINX_LIQUID_ONION__";

0 commit comments

Comments
 (0)