From 2b2bc2fc4163e36b9cd345dddc8c59f32e549a20 Mon Sep 17 00:00:00 2001 From: wiz Date: Thu, 3 Dec 2020 09:56:29 +0900 Subject: [PATCH] Change nginx.conf Tor HS port from 81 to 80 to fix i18n bug --- production/README.md | 4 +++- production/nginx.conf | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/production/README.md b/production/README.md index 01248b70c..51c595945 100644 --- a/production/README.md +++ b/production/README.md @@ -102,10 +102,12 @@ Log notice syslog CookieAuthentication 1 CookieAuthFileGroupReadable 1 +CookieAuthFile /var/db/tor/control_auth_cookie +DataDirectory /var/db/tor DataDirectoryGroupReadable 1 HiddenServiceDir /var/db/tor/mempool -HiddenServicePort 80 127.0.0.1:81 +HiddenServicePort 80 127.0.0.1:80 HiddenServiceVersion 3 ``` diff --git a/production/nginx.conf b/production/nginx.conf index a92f86ae3..3f79a65cc 100644 --- a/production/nginx.conf +++ b/production/nginx.conf @@ -163,7 +163,7 @@ http { } server { - listen 127.0.0.1:81; + listen 127.0.0.1:80; listen 443 ssl default http2 backlog=1024; server_name mempool.space; ssl_certificate /usr/local/etc/letsencrypt/live/mempool.space/fullchain.pem;