server {
listen ;
server_name localhost; location /dirName {
alias "C:/Users/VALEB/Downloads/include";
autoindex on;
autoindex_localtime on;
expires 7d;
}
location /name {
alias "C:\Users\VALEB\Desktop\wav";
autoindex on;
autoindex_localtime on;
}
#error_page /.html;
}
相关文章
- There is no Action mapped for action name XXX. - [unknown location]
- Nginx一个server配置多个location
- SpringBoot 上传文件 Caused by: : The temporary upload location [***] is not valid
- springboot 上传文件报错:: The temporary upload location [/tmp/] is not valid
- window-location-href无法跳转的解决办法
- ZooKeeper available but no active master location found
- 引入旧的Java项目的时候出现"Description Resource Path Location Type Date cannot be resolved to "解决方案
- nginx配置文件中的location理解
- 关于header('location:url')的一些说明,php缓冲区
- nodejs 重定向 (redirect + writeHead(Location))