Eugaia Wrote:
different definitions
location /test/ {
cookie variable, so
nginx Info Page
other than the root return a
ip_hash;
proxy_temp_path /var/www/nginx_temp;
rewrite ^(.*)$ /$backend/$1;
proxy_cache one;
location /wp-admin {server ... map $cookie_uslnn_env $backend { location /testing/ { proxy_cache_valid 200 302 304 10m; }
/production/,
/testing/… blocks, but not for the /wp-admin
block.Marcus.
nginx mailing list
[email protected]
nginx Info Page
Marcus,
Thank you for the help. Sorry I did not reply sooner. Thank you
for explaining about the final slash. I tried adding the slash
in the /production/, /testing/, etc. blocks but then I got a
redirect loop. Is there something else I missed?
Eliot
Posted at Nginx Forum: