I also tried, if($upstream_cache_status = "HIT") { } but not able to get in to block. Question is how to catch that processing state so that I can do some modification before page is sent to clientby chintans - How to...
Hi All, I would like to do some modification like set cookie, remove some header field only if page is served from cache and for rest pass response directly to client. I see there are some modules like nginscript, not sure if can be done through those. Any help is greatly appreciated as trying for few days and not able to achieve. Thanks !by chintans - How to...
Thanks Jim !by chintans - How to...
Hi All, I am new to nginx and trying to port my app from Apache, I did google and gone through docs unfortunately not able to achieve below requirement. If user access website for e.g. http://www.abc.com:443 then I would like to return 444, as of now nginx default 400 error page is returned. "The plain HTTP request was sent to HTTPS port " server block - server { lby chintans - How to...
![]() |
![]() |
![]() |
![]() |
![]() |