How do I add text to a response from a remote URL in NGINX?

moyamos nginx-forum at forum.nginx.org
Tue Sep 1 05:12:03 UTC 2020


Thanks for the reply. :-)

I have added a location as follows:

location ~/src/(.*) {
        proxy_pass http://externalserver.com;
}

It works when the entire URL is loaded in a browser. However, in the
"autoindex" page, "Object Moved
This document may be found _here_" show up before and after the files list.

Posted at Nginx Forum: https://forum.nginx.org/read.php?2,289227,289261#msg-289261



More information about the nginx mailing list