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
Post a Comment