simpleertube

This commit is contained in:
root 2022-07-29 18:04:19 -04:00
parent 9139907bd0
commit 7c39d206c5
4 changed files with 38 additions and 1 deletions

8
common/simpleertube.conf Normal file
View File

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

View File

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

View File

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

View File

@ -0,0 +1 @@
/etc/nginx/sites-available/simpleertube.conf