etc-configs/nginx/conf.d/twitch.zzls.xyz.conf

25 lines
511 B
Text

server {
access_log /var/log/nginx/twitch.zzls.xyz.access.log;
error_log /var/log/nginx/twitch.zzls.xyz.error.log;
server_name twitch.nadeko.net;
include configs/general.conf;
include configs/security.conf;
include configs/robotsNone.conf;
location / {
add_header Content-Type text/plain;
return 200 "Twitch Russia Proxy for TTVLOL V1";
}
location ~ ^/(?!$) {
proxy_pass http://twitchproxy;
include configs/proxy.conf;
}
# QUIC
include configs/http3.conf;
listen 443 ssl;
http2 on;
}