diff --git a/conf/nginx.conf b/conf/nginx.conf index 6e2db19..07fd219 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -129,7 +129,8 @@ http { location / { proxy_set_header X-Real-IP $remote_addr; - proxy_pass https://oauth.vk.com; + proxy_set_header Proxy-Host oauth.vk.com; + proxy_pass http://vk-proxy; proxy_redirect https://oauth.vk.com/ /; } }