摘要: 1.root和alias server { listen 8000; # 1.root配合index使用:会吧/test_1拼接到网址前面 location /test_1 { root /etc/nginx/my_html; index index.html; } # 2.alias配合index 阅读全文
posted @ 2020-08-14 02:30 手可摘星辰。 阅读(127) 评论(0) 推荐(0) 编辑