Yes, I'm aware. The dashboard requires authentication (note the "..."). Thanks.by jared - How to...
It would be great if there were a directive for writing a string of my choice to a log file, such as: location ~ /some/path/.*/foo { print_to_log "In new rule I'm working on" if ($something ~ ^reg(.*)exp$) { print_to_log "$something matched; captured $1" } ... } I've read that nginx can be compiled in debug mode, but that's a really heavy solutiby jared - Ideas and Feature Requests
I'm trying to write a rule to proxy /varz requests to all my backends for a production dashboard. I'd like to specify the host and port in the request URL. Here's what I've tried, but I get a 502 Bad Gateway from nginx. location /dashboard/varz { if ($args ~ "host=(*)&port=([0-9]*)") { set $varz_host $1; set $varz_port $2; proxy_pass http://by jared - How to...