vim /etc/nginx/sites-enabled
server {
listen 80;
server_name domain.com www.domain.com;
location / {
root /root/project/build;
try_files $uri $uri/ /index.html;
}
}
本文链接:https://blog.crazylei.com/art/a9d04454
版权声明: 本博客所有文章除特别声明外,均采用CC BY 4.0 CN协议 许可协议。转载请注明出处!
正在加载评论...