nginx-configs/conf.d/destructables.conf

36 lines
999 B
Plaintext

proxy_cache_path /tmp/destructables-img-cache keys_zone=ds-img:60m inactive=60m;
proxy_cache_path /tmp/destructables-archive-cache keys_zone=ds-archive:2880m inactive=30d;
server {
listen 80;
listen [::]:80;
server_name ds.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion destructables.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion instructables.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion;
include common/destructables.conf;
}
server {
listen 11101;
listen [::]:11101;
server_name vern543vpdnea54gxj4ra66ijciu4fff26emabkdz4w4rgnyx2eq.b32.i2p;
include common/destructables.conf;
}
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
include snippets/lets-encrypt.conf;
server_name ds.vern.cc destructables.vern.cc instructables.vern.cc;
include common/destructables.conf;
}
server {
listen 80;
listen [::]:80;
return 301 https://$host$request_uri;
server_name ds.vern.cc destructables.vern.cc instructables.vern.cc;
}