0x0
This commit is contained in:
parent
de29faaf7d
commit
9139907bd0
|
@ -1,11 +1,16 @@
|
|||
add_header Onion-Location http://0.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion$request_uri;
|
||||
client_max_body_size 1024M;
|
||||
root /home/0x0/0x0;
|
||||
|
||||
location / {
|
||||
include proxy_params;
|
||||
proxy_ssl_name $http_host;
|
||||
proxy_ssl_server_name on;
|
||||
proxy_pass https://0.vern.cc;
|
||||
}
|
||||
location /up {
|
||||
internal;
|
||||
include uwsgi_params;
|
||||
uwsgi_param UWSGI_SCHEME $scheme;
|
||||
|
||||
# make sure this matches the port you're running uwsgi on
|
||||
uwsgi_pass 127.0.0.1:3031;
|
||||
autoindex on;
|
||||
}
|
||||
|
||||
location /up {
|
||||
internal;
|
||||
}
|
||||
|
|
|
@ -1,28 +1,30 @@
|
|||
server {
|
||||
listen 80;
|
||||
listen [::]:80;
|
||||
server_name 0.vern.cc;
|
||||
listen 80;
|
||||
listen [::]:80;
|
||||
|
||||
location / {
|
||||
return 307 https://$host$request_uri;
|
||||
}
|
||||
listen 11022;
|
||||
listen [::]:11022;
|
||||
|
||||
server_name 0.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion;
|
||||
server_name verncc2ngpoa6subaig7xyrt3jmyrnndsixt5t4ufui5usjsogna.b32.i2p;
|
||||
|
||||
include common/0x0.conf;
|
||||
}
|
||||
|
||||
server {
|
||||
listen 443 ssl http2;
|
||||
server_name 0.vern.cc;
|
||||
include /etc/nginx/snippets/lets-encrypt.conf;
|
||||
root /home/0x0/0x0;
|
||||
listen 80;
|
||||
listen [::]:80;
|
||||
server_name 0.vern.cc;
|
||||
|
||||
location / {
|
||||
include uwsgi_params;
|
||||
uwsgi_param UWSGI_SCHEME $scheme;
|
||||
|
||||
# make sure this matches the port you're running uwsgi on
|
||||
uwsgi_pass 127.0.0.1:3031;
|
||||
}
|
||||
|
||||
location /up {
|
||||
internal;
|
||||
}
|
||||
location / {
|
||||
return 301 https://$host$request_uri;
|
||||
}
|
||||
}
|
||||
|
||||
server {
|
||||
listen 443 ssl http2;
|
||||
server_name 0.vern.cc;
|
||||
include /etc/nginx/snippets/lets-encrypt.conf;
|
||||
|
||||
include common/0x0.conf;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue