1
我想要什麼:如何配置ngnix位置?
/=> /var/www/
/measurements /var/meassurements
我開始使用 「位置」:
/=> /var/www/
/measurements => /var/measurements/measurements
我究竟做錯了什麼?
配置 - 摘錄:
location/{
# root /usr/share/nginx/html;
root /var/www/;
index index.html index.htm;
}
location /measurements {
root /var/measurements/;
autoindex on;
}