54 lines
978 B
Plaintext
54 lines
978 B
Plaintext
|
server {
|
||
|
listen 80;
|
||
|
listen [::]:80;
|
||
|
|
||
|
server_name yc.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion yacy.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion;
|
||
|
|
||
|
include common/yacy.conf;
|
||
|
|
||
|
location / {
|
||
|
proxy_pass http://127.0.0.1:8181/;
|
||
|
proxy_redirect off;
|
||
|
proxy_set_header Host $host;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
server {
|
||
|
listen 11038;
|
||
|
listen [::]:11038;
|
||
|
|
||
|
server_name vernxiu4oiyb6t2impixu7kqot4irhdr3pzmgszbaxjbpwblapeq.b32.i2p;
|
||
|
|
||
|
include common/yacy.conf;
|
||
|
|
||
|
location / {
|
||
|
proxy_pass http://127.0.0.1:8282/;
|
||
|
proxy_redirect off;
|
||
|
proxy_set_header Host $host;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
server {
|
||
|
listen 443 ssl http2;
|
||
|
listen [::]:443 ssl http2;
|
||
|
|
||
|
server_name yc.vern.cc yacy.vern.cc;
|
||
|
|
||
|
include snippets/lets-encrypt.conf;
|
||
|
|
||
|
include common/yacy.conf;
|
||
|
|
||
|
location / {
|
||
|
proxy_pass http://127.0.0.1:8090/;
|
||
|
proxy_redirect off;
|
||
|
proxy_set_header Host $host;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
server {
|
||
|
listen 80;
|
||
|
listen [::]:80;
|
||
|
return 301 https://$host$request_uri;
|
||
|
server_name yc.vern.cc yacy.vern.cc;
|
||
|
}
|