#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