nginx - Excluding location path from file pathes -



nginx - Excluding location path from file pathes -

in config file,

location /i/ { root /data/w3; }

the /data/w3/i/top.gif file sent in response /i/top.gif request. how can set ignore i in file paths? indeed need /i/top.gif mapped /data/w3/top.gif.

location /i/ { alias /data/w3/; }

nginx config httpserver

Comments

Popular posts from this blog

php - Android app custom user registration and login with cookie using facebook sdk -

django - Access session in user model .save() -

php - .htaccess Multiple Rewrite Rules / Prioritizing -