Re: RE: Setting a custom header based on another upstream/sent header

2019-08-22 Thread fevangelou
Thank you Reinis - that did it :) Posted at Nginx Forum: https://forum.nginx.org/read.php?2,285363,285374#msg-285374 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Setting a custom header based on another upstream/sent header

2019-08-22 Thread fevangelou
Hi there, I'm trying (unsuccessfully) to read an upstream/sent response header and set an additional one based on some regex. Let's say I want to check if the site served is WordPress. WordPress will usually output a link header like this: link: ; rel="https://api

Re: Nginx proxy cache/temp folders empty when located inside /tmp on CentOS 7

2016-04-07 Thread fevangelou
Awesome. Thank you :) Posted at Nginx Forum: https://forum.nginx.org/read.php?2,265943,265986#msg-265986 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Nginx proxy cache/temp folders empty when located inside /tmp on CentOS 7

2016-04-05 Thread fevangelou
(First post in the Nginx forum, so please bear with me if it seems slightly long...) I'm the maker of Engintron, a popular cPanel plugin which integrates Nginx as a reverse caching proxy in front of Apache. The project started in Dec 2014, it is open source & free and you can check out the code he