Reverse Proxy

2019-07-20 Thread Michael Cooper
Hello Guys, First time poster to nginx list. I have successfully created an nginx proxy but i am only using http at the moment: The following works perfectly # Coopfire.com Website # server { server_name www.coopfire.com; location / { # www.coopfire.com reverse proxy follow

Re: Nginx cache-control headers issue

2019-07-20 Thread Andrew Andonopoulos
Hi Francis, Thank you for the suggestion, I will start removing the config and try to find which one is the source of the problem. Also, I want to ask you, I saw that the last-modified header with token is always: Last-Modified: Sun, 19 Nov 2000 08:52:00 GMT, but there isn't line in the conf

Re: Nginx cache-control headers issue

2019-07-20 Thread Francis Daly
On Sat, Jul 20, 2019 at 12:33:24AM +, Andrew Andonopoulos wrote: Hi there, > I checked multiple scenarios and when I removed the token I got the correct > header. Looks like when the token is active, I am getting wrong headers. There is lots going on in your config. I suggest it may be use

Integration of gprof for Nginx dynamic module

2019-07-20 Thread bhagavathula
Hi, I am trying to integrate gprof for testing the performance of our nginx dynamic module developed in C. I am trying to include the -pg flag during compilation as follows: ./configure --with-debug --with-compat --add-dynamic-module= --prefix= --with-cc-opt="-I/usr/include/x86_64-linux-gnu/ -I/us