Convos
This commit is contained in:
parent
859e8ee73f
commit
30d7e5d93a
|
@ -0,0 +1,14 @@
|
|||
add_header Onion-Location http://cv.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion$request_uri;
|
||||
|
||||
location / {
|
||||
proxy_pass http://localhost:9000/; # The / is important!
|
||||
proxy_redirect off;
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection "upgrade";
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
proxy_set_header X-Request-Base "$scheme://$host/";
|
||||
client_max_body_size 0;
|
||||
}
|
|
@ -0,0 +1,18 @@
|
|||
add_header Onion-Location http://lx.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion$request_uri;
|
||||
|
||||
root /var/www/librex;
|
||||
index index.php index.html index.htm;
|
||||
|
||||
location / {
|
||||
try_files $uri $uri/ /index.php;
|
||||
}
|
||||
|
||||
location ~ \.php$ {
|
||||
fastcgi_pass unix:/run/php/php7.4-fpm.sock;
|
||||
fastcgi_index index.php;
|
||||
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
||||
include /etc/nginx/fastcgi_params;
|
||||
}
|
||||
|
||||
access_log /var/log/nginx/librex-access.log;
|
||||
error_log /var/log/nginx/librex-error.log;
|
|
@ -1,5 +1,3 @@
|
|||
add_header Onion-Location http://piped.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion$request_uri;
|
||||
|
||||
location / {
|
||||
proxy_pass http://localhost:8005/; # The / is important!
|
||||
proxy_set_header Host $host;
|
||||
|
|
|
@ -0,0 +1,37 @@
|
|||
server {
|
||||
listen 80;
|
||||
listen [::]:80;
|
||||
|
||||
server_name cv.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion convos.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion;
|
||||
|
||||
include common/convos.conf;
|
||||
# subs_filter <a\shref="https://twitter.com/convosby/"> <a\shref="http://nt.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion/convosby/">;
|
||||
}
|
||||
|
||||
server {
|
||||
listen 11040;
|
||||
listen [::]:11040;
|
||||
|
||||
server_name vernqjyxqnmp3yimhsax4cpo7zcaog4fssecc2hpz4y362olobaq.b32.i2p;
|
||||
|
||||
include common/convos.conf;
|
||||
# subs_filter <a\shref="https://twitter.com/convosby/"> <a\shref="http://vernzdedoxuflrrxc4vbatbkpjh4k22ecgiqgimdiif62onhagva.b32.i2p/convosby/">;
|
||||
}
|
||||
|
||||
server {
|
||||
listen 443 ssl http2;
|
||||
listen [::]:443 ssl http2;
|
||||
server_name cv.vern.cc convos.vern.cc;
|
||||
include snippets/lets-encrypt.conf;
|
||||
include snippets/headers.conf;
|
||||
|
||||
include common/convos.conf;
|
||||
# subs_filter <a\shref="https://twitter.com/convosby/"> <a\shref="https://nt.vern.cc/convosby/">;
|
||||
}
|
||||
|
||||
server {
|
||||
listen 80;
|
||||
listen [::]:80;
|
||||
return 301 https://$host$request_uri;
|
||||
server_name cv.vern.cc convos.vern.cc;
|
||||
}
|
|
@ -0,0 +1,34 @@
|
|||
server {
|
||||
listen 80;
|
||||
listen [::]:80;
|
||||
|
||||
server_name lx.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion librex.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion;
|
||||
|
||||
include common/librex.conf;
|
||||
}
|
||||
|
||||
server {
|
||||
listen 11039;
|
||||
listen [::]:11039;
|
||||
|
||||
server_name vernziqfqvweijfaacmwazohgpdo2bt2ib2jlupt2pwwu27bhgxq.b32.i2p;
|
||||
|
||||
include common/librex.conf;
|
||||
}
|
||||
|
||||
server {
|
||||
listen 443 ssl http2;
|
||||
listen [::]:443 ssl http2;
|
||||
server_name lx.vern.cc librex.vern.cc;
|
||||
include snippets/lets-encrypt.conf;
|
||||
include snippets/headers.conf;
|
||||
include common/librex.conf;
|
||||
}
|
||||
|
||||
server {
|
||||
listen 80;
|
||||
listen [::]:80;
|
||||
return 301 https://$host$request_uri;
|
||||
server_name lx.vern.cc librex.vern.cc;
|
||||
}
|
||||
|
|
@ -1,44 +1,10 @@
|
|||
server {
|
||||
listen 80;
|
||||
listen [::]:80;
|
||||
|
||||
server_name piped.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion pipedapi.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion pipedproxy.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion;
|
||||
|
||||
include common/piped.conf;
|
||||
}
|
||||
|
||||
#server {
|
||||
# listen 11013;
|
||||
# listen [::]:11013;
|
||||
#
|
||||
# server_name vernnflenvsqccuanaun7yydnmturi4jkyxlyzhn6ultpje66c3q.b32.i2p;
|
||||
#
|
||||
# include common/quetre.conf;
|
||||
#}
|
||||
|
||||
server {
|
||||
listen 443 ssl http2;
|
||||
listen [::]:443 ssl http2;
|
||||
server_name piped.vern.cc;
|
||||
server_name piped.vern.cc pipedapi.vern.cc pipedproxy.vern.cc;
|
||||
include snippets/lets-encrypt.conf;
|
||||
include snippets/headers.conf;
|
||||
include common/piped.conf;
|
||||
}
|
||||
|
||||
server {
|
||||
listen 443 ssl http2;
|
||||
listen [::]:443 ssl http2;
|
||||
server_name pipedapi.vern.cc;
|
||||
include snippets/lets-encrypt.conf;
|
||||
include snippets/headers.conf;
|
||||
include common/piped.conf;
|
||||
}
|
||||
server {
|
||||
listen 443 ssl http2;
|
||||
listen [::]:443 ssl http2;
|
||||
server_name pipedproxy.vern.cc;
|
||||
include snippets/lets-encrypt.conf;
|
||||
include snippets/headers.conf;
|
||||
#include snippets/headers.conf;
|
||||
include common/piped.conf;
|
||||
}
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@ server {
|
|||
listen 80;
|
||||
listen [::]:80;
|
||||
|
||||
server_name rc.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion roundcube.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion;
|
||||
server_name rc.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion roundcube.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion wm.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion;
|
||||
|
||||
include common/roundcube.conf;
|
||||
}
|
||||
|
@ -19,7 +19,7 @@ server {
|
|||
server {
|
||||
listen 443 ssl http2;
|
||||
listen [::]:443 ssl http2;
|
||||
server_name rc.vern.cc roundcube.vern.cc;
|
||||
server_name rc.vern.cc roundcube.vern.cc wm.vern.cc;
|
||||
include snippets/lets-encrypt.conf;
|
||||
include snippets/headers.conf;
|
||||
|
||||
|
@ -29,6 +29,6 @@ server {
|
|||
server {
|
||||
listen 80;
|
||||
listen [::]:80;
|
||||
server_name rc.vern.cc roundcube.vern.cc;
|
||||
server_name rc.vern.cc roundcube.vern.cc wm.vern.cc;
|
||||
return 301 https://$host$request_uri;
|
||||
}
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
/etc/nginx/sites-available/convos.conf
|
|
@ -0,0 +1 @@
|
|||
/etc/nginx/sites-available/librex.conf
|
Loading…
Reference in New Issue