静态资源访问
location /profile/ {# 静态资源配置方式二:指向目录,对应后台`application.yml`中的`profile`配置目录一致alias /ruoyi/uploadPath/;}
静态页面访问
location /{alias /data/yuan/ddd;index index.html index.htm;}
时间:2021-12-20 19:51:11
静态资源访问
location /profile/ {# 静态资源配置方式二:指向目录,对应后台`application.yml`中的`profile`配置目录一致alias /ruoyi/uploadPath/;}
静态页面访问
location /{alias /data/yuan/ddd;index index.html index.htm;}