onion mailman, librespeed
This commit is contained in:
parent
7c7cb88b0b
commit
1e41e1be13
|
@ -0,0 +1,10 @@
|
||||||
|
add_header Onion-Location http://lists.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion$request_uri;
|
||||||
|
add_header X-I2P-Location http://vern7tanh5da42m3nroycnv37kthcs2r5bijb2jt7gh3sj4l2ysq.b32.i2p$request_uri;
|
||||||
|
|
||||||
|
location / {
|
||||||
|
proxy_pass http://192.168.122.53:8003/;
|
||||||
|
proxy_redirect off;
|
||||||
|
proxy_set_header Host "lists.vern.cc";
|
||||||
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||||
|
proxy_set_header X-Forwarded-Proto $scheme;
|
||||||
|
}
|
|
@ -30,15 +30,18 @@ location ^~ /new-admin {
|
||||||
location / {
|
location / {
|
||||||
include snippets/uwsgi_params;
|
include snippets/uwsgi_params;
|
||||||
uwsgi_param UWSGI_SCRIPT instance.wsgi:application;
|
uwsgi_param UWSGI_SCRIPT instance.wsgi:application;
|
||||||
|
uwsgi_param HTTP_HOST "mail.vern.cc";
|
||||||
uwsgi_pass modoboa;
|
uwsgi_pass modoboa;
|
||||||
}
|
}
|
||||||
|
|
||||||
location ~* ^/autodiscover/autodiscover.xml {
|
location ~* ^/autodiscover/autodiscover.xml {
|
||||||
include snippets/uwsgi_params;
|
include snippets/uwsgi_params;
|
||||||
|
uwsgi_param HTTP_HOST "mail.vern.cc";
|
||||||
uwsgi_pass automx;
|
uwsgi_pass automx;
|
||||||
}
|
}
|
||||||
location /mobileconfig {
|
location /mobileconfig {
|
||||||
include snippets/uwsgi_params;
|
include snippets/uwsgi_params;
|
||||||
|
uwsgi_param HTTP_HOST "mail.vern.cc";
|
||||||
uwsgi_pass automx;
|
uwsgi_pass automx;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,11 @@
|
||||||
add_header Onion-Location http://ls.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion$request_uri;
|
add_header Onion-Location http://ls.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion$request_uri;
|
||||||
root /var/www/speedtest;
|
add_header X-I2P-Location http://verncfvtpzdyrq4iy72nsv5tq3tmoxblywsxg25v2eydyao4gkfq.b32.i2p$request_uri;
|
||||||
ssi on;
|
|
||||||
|
location / {
|
||||||
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||||
|
# proxy_set_header Host "ls.vern.cc";
|
||||||
|
proxy_pass http://139.144.17.216:8989/;
|
||||||
|
proxy_http_version 1.1;
|
||||||
|
proxy_set_header Upgrade $http_upgrade;
|
||||||
|
proxy_set_header Connection "upgrade";
|
||||||
|
}
|
||||||
|
|
|
@ -0,0 +1,32 @@
|
||||||
|
server {
|
||||||
|
listen 80;
|
||||||
|
listen [::]:80;
|
||||||
|
|
||||||
|
server_name lists.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion;
|
||||||
|
|
||||||
|
include common/lists.conf;
|
||||||
|
}
|
||||||
|
|
||||||
|
server {
|
||||||
|
listen 11063;
|
||||||
|
listen [::]:11063;
|
||||||
|
|
||||||
|
server_name vern7tanh5da42m3nroycnv37kthcs2r5bijb2jt7gh3sj4l2ysq.b32.i2p;
|
||||||
|
|
||||||
|
include common/lists.conf;
|
||||||
|
}
|
||||||
|
|
||||||
|
server {
|
||||||
|
listen 443 ssl http2;
|
||||||
|
listen [::]:443 ssl http2;
|
||||||
|
server_name lists.vern.cc;
|
||||||
|
include common/lists.conf;
|
||||||
|
include snippets/lets-encrypt.conf;
|
||||||
|
}
|
||||||
|
|
||||||
|
server {
|
||||||
|
listen 80;
|
||||||
|
listen [::]:80;
|
||||||
|
return 301 https://$host$request_uri;
|
||||||
|
server_name lists.vern.cc;
|
||||||
|
}
|
|
@ -0,0 +1,17 @@
|
||||||
|
server {
|
||||||
|
listen 80;
|
||||||
|
listen [::]:80;
|
||||||
|
|
||||||
|
server_name ls.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion speedtest.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion librespeed.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion;
|
||||||
|
|
||||||
|
include common/speedtest.conf;
|
||||||
|
}
|
||||||
|
|
||||||
|
server {
|
||||||
|
listen 11066;
|
||||||
|
listen [::]:11066;
|
||||||
|
|
||||||
|
server_name verncfvtpzdyrq4iy72nsv5tq3tmoxblywsxg25v2eydyao4gkfq.b32.i2p;
|
||||||
|
|
||||||
|
include common/speedtest.conf;
|
||||||
|
}
|
|
@ -2,7 +2,6 @@ user www-data;
|
||||||
worker_processes auto;
|
worker_processes auto;
|
||||||
pid /run/nginx.pid;
|
pid /run/nginx.pid;
|
||||||
include /etc/nginx/modules-enabled/*.conf;
|
include /etc/nginx/modules-enabled/*.conf;
|
||||||
|
|
||||||
events {
|
events {
|
||||||
worker_connections 768;
|
worker_connections 768;
|
||||||
# multi_accept on;
|
# multi_accept on;
|
||||||
|
@ -12,6 +11,7 @@ http {
|
||||||
sendfile on;
|
sendfile on;
|
||||||
tcp_nopush on;
|
tcp_nopush on;
|
||||||
types_hash_max_size 2048;
|
types_hash_max_size 2048;
|
||||||
|
variables_hash_max_size 2048;
|
||||||
server_names_hash_bucket_size 256;
|
server_names_hash_bucket_size 256;
|
||||||
include /etc/nginx/snippets/mime.types;
|
include /etc/nginx/snippets/mime.types;
|
||||||
default_type application/octet-stream;
|
default_type application/octet-stream;
|
||||||
|
|
Loading…
Reference in New Issue