ok, got the buffers and gzip on the proxy level. I wanted to do caching on actual web server level. I have specified following in 'http' section; proxy_cache_path /var/cache/www levels=1:2 keys_zone=devserv_cache:8m max_size=1000m inactive=600m; and below in 'server' section, # This block will catch static file requests, such as images, css, js # The ?: prefixby fcukinyahoo - How to...
i really dont care where it happens since both of the servers more than capable handling it. However, I have tried above Caching both on proxy and web server but in both cases I had all images missing. I think i m missing something somewhere.by fcukinyahoo - How to...
so do i specify below in proxy nginx.conf in server section? # Caching Static Files location ~* .(jpg|jpeg|png|gif|ico|css|js)$ { expires 365d; }by fcukinyahoo - How to...
I have setup nginx as reverse proxy which gets all 80 requests and proxies them to other appropriate web servers behind. One of those web servers is also nginx serving php site. I want to specify gzip, buffer, and caching options but I am not sure on which server's nginx.conf to specify them. On the proxy or web server or both. The options that i want to specify is below. # Compression gzip oby fcukinyahoo - How to...
![]() |
![]() |
![]() |
![]() |
|