From b2725a042d165da56cf1c47e08de07640c114d54 Mon Sep 17 00:00:00 2001 From: vanyaindigo Date: Tue, 12 Apr 2022 14:10:49 +0300 Subject: [PATCH] Update default --- default | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/default b/default index 8ae6b08..68ce2a3 100644 --- a/default +++ b/default @@ -26,9 +26,20 @@ server { ssl_buffer_size 8k; ssl_prefer_server_ciphers off; location / { - proxy_pass http://127.0.0.1:8080/; - proxy_redirect off; + proxy_redirect off; + proxy_pass https://youtube.com/; } + location /aghome/ { + proxy_pass http://127.0.0.1:8080/; + proxy_redirect / /aghome/; + proxy_cookie_path / /aghome/; + } + location /dns-query { + proxy_pass http://127.0.0.1:4043/; + proxy_redirect / /dns-query/; + proxy_bind 192.168.1.2; + } +} location /v2ray { proxy_redirect off; proxy_buffering off;