asdjtygkibu7vasrf dyastd
This commit is contained in:
parent
fa95de5af5
commit
e98bbcd12d
1 changed files with 4 additions and 2 deletions
|
@ -1,12 +1,14 @@
|
|||
server {
|
||||
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;
|
||||
include configs/general.conf;
|
||||
include configs/security.conf;
|
||||
include configs/robotsNone.conf;
|
||||
|
||||
location / {
|
||||
alias static/twitch.txt;
|
||||
add_header Content-Type text/plain;
|
||||
return 200 "Twitch Russia Proxy for TTVLOL V1";
|
||||
}
|
||||
|
||||
location ~ ^/(?!$) {
|
||||
|
@ -25,7 +27,7 @@ server {
|
|||
set $x "";
|
||||
if ($host = twitch.zzls.xyz) {
|
||||
set $x 1;
|
||||
}
|
||||
}
|
||||
if ($host = twitch.nadeko.net) {
|
||||
set $x 1;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue