Proxy pass set body on if

sanflores nginx-forum at forum.nginx.org
Mon Feb 22 12:52:04 UTC 2021


This would be great, but I don't know how to server the context from nginx
with a rewrite, what would work is:

if ($is_NOT_a_bot) {
rewrite in order to save the content in /usr/share/nginx/html
}
proxy_pass ....

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



More information about the nginx mailing list