S
тренируюсь на локальной машине 192.168.56.103
конфиг следующий
server {получаю ошибку 502, в чем может быть проблема?
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;
}
}