Change nginx.conf Tor HS port from 81 to 80 to fix i18n bug

This commit is contained in:
wiz 2020-12-03 09:56:29 +09:00
parent 6b498b9601
commit 2b2bc2fc41
No known key found for this signature in database
GPG Key ID: A394E332255A6173
2 changed files with 4 additions and 2 deletions

View File

@ -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
```

View File

@ -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;