http://172.22.130.64/;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header Host $host;
proxy_redirect off;
proxy_buffering off;
proxy_set_header http_x_forwarded_for $remote_addr;
proxy_set_header remote_addr $remote_addr;
proxy_set_header X-Original-URI $request_uri;
proxy_cookie_path /zabbix/ /;
rewrite ^/zabbix/(.*)$ /$1 break;
}
location ^~ /zabbix/assets/ {
proxy_pass http://172.22.130.64/assets/;
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-Server $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header Host $host;
rewrite ^/zabbix/assets/(.*)$ /assets/$1? break;
}
С таким конфигом завелось )
утащил
Вы тут перемудрили
Обсуждают сегодня