simpleertube
This commit is contained in:
parent
9139907bd0
commit
7c39d206c5
|
@ -0,0 +1,8 @@
|
|||
add_header Onion-Location http://st.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion$request_uri;
|
||||
|
||||
location / {
|
||||
proxy_pass http://localhost:2503/; # The / is important!
|
||||
proxy_redirect off;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
}
|
|
@ -10,7 +10,7 @@ server {
|
|||
root /usr/lib/node_modules/mumble-web/dist;
|
||||
}
|
||||
location /vern {
|
||||
proxy_pass http://localhost:64737;
|
||||
proxy_pass http://localhost:64736;
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection $connection_upgrade;
|
||||
|
|
|
@ -0,0 +1,28 @@
|
|||
server {
|
||||
listen 80;
|
||||
listen [::]:80;
|
||||
|
||||
listen 11023;
|
||||
listen [::]:11023;
|
||||
|
||||
server_name st.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion simpleertube.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion;
|
||||
server_name vernccpicv6xaonhngkehmyfnrvlngws6pqot7izhrksy7taxsda.b32.i2p;
|
||||
|
||||
include common/simpleertube.conf;
|
||||
}
|
||||
|
||||
server {
|
||||
listen 443 ssl http2;
|
||||
listen [::]:443 ssl http2;
|
||||
include snippets/lets-encrypt.conf;
|
||||
include snippets/headers.conf;
|
||||
server_name st.vern.cc simpleertube.vern.cc;
|
||||
include common/simpleertube.conf;
|
||||
}
|
||||
|
||||
server {
|
||||
listen 80;
|
||||
listen [::]:80;
|
||||
return 301 https://$host$request_uri;
|
||||
server_name st.vern.cc simpleertube.vern.cc;
|
||||
}
|
|
@ -0,0 +1 @@
|
|||
/etc/nginx/sites-available/simpleertube.conf
|
Loading…
Reference in New Issue