add agreper
This commit is contained in:
parent
45a3dc5446
commit
af6f3dc6cf
|
@ -0,0 +1,9 @@
|
|||
add_header Onion-Location http://ag.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion$request_uri;
|
||||
|
||||
location / {
|
||||
proxy_pass http://127.0.0.1:8007/;
|
||||
proxy_redirect off;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
}
|
|
@ -0,0 +1,32 @@
|
|||
server {
|
||||
listen 80;
|
||||
listen [::]:80;
|
||||
|
||||
server_name ag.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion agreper.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion forum.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion;
|
||||
|
||||
include common/agreper.conf;
|
||||
}
|
||||
|
||||
server {
|
||||
listen 11051;
|
||||
listen [::]:11051;
|
||||
|
||||
server_name vern6xwzdgt2l7jhgl5dyv6cqjfhd2fnbgbm7i7cd6ssfboqra5a.b32.i2p;
|
||||
|
||||
include common/agreper.conf;
|
||||
}
|
||||
|
||||
server {
|
||||
listen 443 ssl http2;
|
||||
listen [::]:443 ssl http2;
|
||||
server_name ag.vern.cc agreper.vern.cc forum.vern.cc;
|
||||
include snippets/lets-encrypt.conf;
|
||||
include common/agreper.conf;
|
||||
}
|
||||
|
||||
server {
|
||||
listen 80;
|
||||
listen [::]:80;
|
||||
return 301 https://$host$request_uri;
|
||||
server_name ag.vern.cc agreper.vern.cc forum.vern.cc;
|
||||
}
|
|
@ -0,0 +1 @@
|
|||
/etc/nginx/sites-available/agreper.conf
|
Loading…
Reference in New Issue