MC
тренируюсь на локальной машине 192.168.56.103. сервер вечно шлет мне редиректы, когда я пытаюсь зайти на сайт. в чем может быть проблема?
server {
listen 80;
location / {
proxy_pass https://on-running.com;
proxy_set_header Host on-running.com;
subs_filter "on-running.com" "192.168.56.103" gi;
subs_filter "www.on-running.com" "192.168.56.103" gi;
proxy_cookie_domain www.on-running.com 192.168.56.103;
proxy_cookie_domain on-running.com 192.168.56.103;
proxy_set_header Accept-Encoding "";
proxy_redirect https://on-running.com http://192.168.56.103;
proxy_redirect https://www.on-running.com http://192.168.56.103;
proxy_ssl_server_name on;
}
}
