asdjtygkibu7vasrf dyastd

This commit is contained in:
Fijxu 2024-01-15 15:49:51 -03:00
parent fa95de5af5
commit e98bbcd12d

View file

@ -1,12 +1,14 @@
server { server {
access_log /var/log/nginx/twitch.zzls.xyz.access.log; access_log /var/log/nginx/twitch.zzls.xyz.access.log;
error_log /var/log/nginx/twitch.zzls.xyz.error.log;
server_name twitch.zzls.xyz twitch.nadeko.net; server_name twitch.zzls.xyz twitch.nadeko.net;
include configs/general.conf; include configs/general.conf;
include configs/security.conf; include configs/security.conf;
include configs/robotsNone.conf; include configs/robotsNone.conf;
location / { location / {
alias static/twitch.txt; add_header Content-Type text/plain;
return 200 "Twitch Russia Proxy for TTVLOL V1";
} }
location ~ ^/(?!$) { location ~ ^/(?!$) {
@ -25,7 +27,7 @@ server {
set $x ""; set $x "";
if ($host = twitch.zzls.xyz) { if ($host = twitch.zzls.xyz) {
set $x 1; set $x 1;
} }
if ($host = twitch.nadeko.net) { if ($host = twitch.nadeko.net) {
set $x 1; set $x 1;
} }