proxy_set_header Host $host:$proxy_port; # пробовал варинаты $host и $host:8000 - не помогает
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $remote_addr;
server {
ssl on;
ssl_certificate /etc/nginx/ssl/ssl.crt;
ssl_certificate_key /etc/nginx/ssl/ssl.key;
ssl_session_cache shared:SSL:10m;
ssl_session_timeout 10m;
access_log /var/log/nginx/splunk.access.log my_combined;
location / {
proxy_redirect default; # пробовал разные варианты - не помогло
}
}
/opt/splunk/etc/system/local/web.conf:
[settings]
root_endpoint = /
tools.proxy.on = True
--
Vladimir Rusinov
http://greenmice.info/