Quantcast
Channel: Nginx Forum - How to...
Viewing all articles
Browse latest Browse all 4759

Re: nginx proxy_pass https

$
0
0
thx for your reply
effectivly ,now it works , i have my proxy_path file on my nginx server in front which contain the file cache of my apache like this

/data/nginx/0/2B/xxxxxx

but my website is still slow and i dont understand how to tell to nginx to put in cache all the static file , i dont know if the configuration is in the nginx.conf or in the proxy.conf for example
i changed my nginx conf like this but same result and my proxy.conf above

server {
servername nginx.com
proxy_pass website.com
location ~* \.(jpg|jpeg|png|gif|ico)$ {
expires 30d;
}

could someone put me a standard and basic conf for a nginx in front ,apache in back to put static cache ?
by advance,thanks

Viewing all articles
Browse latest Browse all 4759

Trending Articles