42 lines
1.0 KiB
Plaintext
42 lines
1.0 KiB
Plaintext
fastcgi_cache_path /etc/nginx/phpcache levels=1:2 max_size=1g keys_zone=MYAPP:100m inactive=5m;
|
|
fastcgi_cache_key "$scheme$request_method$host$request_uri";
|
|
proxy_cache_path /etc/nginx/cache levels=1:2 keys_zone=main_cache:100m max_size=1g inactive=5m;
|
|
proxy_cache_key "$scheme$request_method$host$request_uri$cookie_ws";
|
|
|
|
upstream remote_core {
|
|
server 127.0.0.1:8086;
|
|
}
|
|
|
|
server {
|
|
listen 80;
|
|
listen [::]:80;
|
|
server_name wb.vern.cc wiby.vern.cc;
|
|
return 301 https://$host$request_uri;
|
|
}
|
|
server {
|
|
listen 443 ssl http2;
|
|
listen [::]:443 ssl http2;
|
|
include snippets/lets-encrypt.conf;
|
|
server_name wb.vern.cc wiby.vern.cc;
|
|
include common/wiby.conf;
|
|
}
|
|
|
|
server {
|
|
listen 80;
|
|
listen [::]:80;
|
|
|
|
server_name wb.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion wiby.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion;
|
|
|
|
include common/wiby.conf;
|
|
}
|
|
|
|
server {
|
|
listen 11046;
|
|
listen [::]:11046;
|
|
|
|
server_name vern6pan5qgqcivwnyh22rsrln2btrvdw57c22naxhmlqpu7zdvq.b32.i2p;
|
|
|
|
include common/wiby.conf;
|
|
}
|
|
|