torproject.org mirror

This commit is contained in:
root 2022-11-09 11:52:12 -05:00
parent c65ca489c9
commit 9ce7a07d28
2 changed files with 42 additions and 0 deletions

6
common/torproject.conf Normal file
View File

@ -0,0 +1,6 @@
add_header Onion-Location http://torproject.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion$request_uri;
add_header X-I2P-Location http://vern63nfeqjund7ookfwabndqht66qpzruduywqfr5q3d7od2tvq.b32.i2p$request_uri;
root /var/mirror/torproject.org;
location / {
autoindex on;
}

36
conf.d/torproject.conf Normal file
View File

@ -0,0 +1,36 @@
server {
listen 80;
listen [::]:80;
server_name torproject.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion;
include common/torproject.conf;
}
server {
listen 11076;
listen [::]:11076;
server_name vern63nfeqjund7ookfwabndqht66qpzruduywqfr5q3d7od2tvq.b32.i2p;
include common/torproject.conf;
}
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
include snippets/lets-encrypt.conf;
include snippets/headers.conf;
server_name torproject.vern.cc;
include common/torproject.conf;
}
server {
listen 80;
listen [::]:80;
server_name torproject.vern.cc;
include common/torproject.conf;
}