server { .... location /335774.txt { alias /data/www/335774.txt; } location /3351327774.txt { alias /dataN/www/default/3351327774.txt; } location /3351327774.txt { alias ./3351327774.txt; #指向目录 /usr/local/openresty/nginx/ } }