#PATH
<Directory "/www/wwwroot/aocty_project/dist">
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . index.html [L]
SetOutputFilter DEFLATE
Options FollowSymLinks
AllowOverride All
Require all granted
DirectoryIndex index.php index.html index.htm default.php default.html default.htm
</Directory>
# 代理后端服务
ProxyRequests off
ProxyPass /prod-api http://127.0.0.1:8088
ProxyPassReverse /prod-api http://127.0.0.1:8088
使用Apache部署vue项目配置后台接口(若依vue)
最新推荐文章于 2024-07-25 08:49:08 发布