skip to Main Content

Nginx cache entry after header update

Nginx cache with proxy_cache_background_update on; some api response that has Cache-Control=max-age=7, public, stale-while-revalidate=59. After a while upstream response changes header for the same resource to Cache-Control=private, no-cache, must-revalidate. Nginx will continue to serve old stale content and never return new…

VIEW QUESTION

Apache Reverse Proxy Config?

can someone tell me what is wrong with my reverse proxy setup? I can successfully auth with ldap but I just get the Apache2 Default Page I tried putting the ProxyPass and ProxyPassReverse setting into the Location block but I…

VIEW QUESTION

Nginx – How I can hide URL parameters in a reverse proxy?

I have the following reverse proxy in Nginx. I am trying to hide the sig key. location /documents { set $delimeter ""; if ($is_args) { set $delimeter "&"; } set $args "$args${delimeter}sp=rl&st=2024-02-15T14:18:59Z&se=2025-02-15T22:18:59Z&spr=https&sv=2022-11-02&sr=c&sig=TxTaaaaaaaaaaaaaaaaaaaaaaaaaaNgU%3D"; proxy_pass https://testtestsitweu.blob.core.windows.net/publicfiles/MyFiles/; proxy_ssl_name testtestsitweu.blob.core.windows.net; proxy_ssl_server_name on; } But…

VIEW QUESTION
Back To Top
Search