etc-configs/conf.d/ckg/breezewiki.nadeko.net.conf
veil.nadeko.net 45b3ef422f init
2024-01-30 02:05:12 -03:00

42 lines
857 B
Text

server {
server_name breezewiki.nadeko.net;
include configs/general.conf;
include configs/security.conf;
include configs/robotsNone.conf;
location / {
proxy_pass http://breezewiki;
#include configs/proxy.conf;
}
# Onion Service Header
add_header Onion-Location http://breezewiki.nadekonfkhwlxwwk4ycbvq42zvcjmvo5iakl4tajojjwxd4a5dcetuyd.onion$request_uri;
# QUIC
include configs/http3.conf;
listen 443 ssl;
http2 on;
}
server {
listen 127.0.0.1:10040;
server_name breezewiki.nadekonfkhwlxwwk4ycbvq42zvcjmvo5iakl4tajojjwxd4a5dcetuyd.onion;
include configs/general.conf;
include configs/security.conf;
include configs/robotsNone.conf;
}
server {
set $x "";
if ($host = breezewiki.nadeko.net) {
set $x 1;
}
if ($x = 1) {
return 301 https://$host$request_uri;
}
listen 80;
server_name breezewiki.nadeko.net;
return 404;
}