Skip to content

Commit

Permalink
Update default
Browse files Browse the repository at this point in the history
  • Loading branch information
vanyaindigo authored May 4, 2022
1 parent a1fbf79 commit af0f5df
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion default
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,19 @@ server {
proxy_redirect off;
proxy_pass https://youtube.com/;
}
location /aghome/ {
location /aghome {
proxy_pass http://127.0.0.1:8080/;
proxy_redirect / /aghome/;
proxy_cookie_path / /aghome/;
}
location = /aghome {
limit_req zone=antibot burst=2 nodelay;
proxy_pass http://127.0.0.1:8080/;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Real-IP $remote_addr;
}
location /v2ray {
proxy_redirect off;
proxy_buffering off;
Expand Down

0 comments on commit af0f5df

Please sign in to comment.