摘要: 以前只知道Nginx的location块中的root用法,用起来总是感觉满足不了自己的一些想法。然后终于发现了alias这个东西。 先看toot的用法 这样配置的结果就是当客户端请求 /request_path/image/cat.png 的时候, Nginx把请求映射为/local_path/im 阅读全文
posted @ 2018-04-20 23:59 发疯的man 阅读(1706) 评论(1) 推荐(1)