<div dir="ltr">Hello!<div><br></div><div>I've been working through the mapserver tutorial where my setup is fastcgi using nginx + supervisor running the mapserv process, and the two are talking via a unix socket.</div><div><br></div><div>I had been banging my head on a 502 error but finally figured it out when I set the map= query parameter to the full, absolute path of the mapfile I was trying to use.  </div><div><br></div><div>In the docs (<a href="https://mapserver.org/cgi/controls.html" target="_blank">https://mapserver.org/cgi/controls.html</a>) it mentions</div><div><br></div><div>> MAP [filename] Path, relative to the CGI directory, of the map file to be used.<br></div><div><br></div><div>I am curious though, what is the "CGI directory" when you're running under fastcgi?</div><div><br></div><div>Thanks!</div><div>Patrick</div><div><br></div><div><br></div></div>