i want to put the pic,css,js etc. files on the frontend server, but
with below config, i put a tar file to /var/www/a.com/test.tar and
visite http://a.com/test.tar it return a 404 herder. how can i fix it?
i want control the proxy cache for different cache time with the
different request uri, could you give me the right way to config it ?
thank you very much.
my nginx.conf
server {
listen 80;
root /var/www/a.com;
server_name a.com;
index index.html index.htm index.php;
i want to put the pic,css,js etc. files on the frontend server, but
with below config, i put a tar file to /var/www/a.com/test.tar and
visite http://a.com/test.tar it return a 404 herder. how can i fix it?