flipped-aurora/gin-vue-admin

Apache部署GVA项目

Open

#440 opened on Apr 21, 2021

View on GitHub
 (0 comments) (0 reactions) (0 assignees)Go (6,067 forks)batch import
good first issue

Repository metrics

Stars
 (20,403 stars)
PR merge metrics
 (Avg merge 6d 14h) (6 merged PRs in 30d)

Description

Apache 部署GVA

部署版本

GVA 2.4.0

具体配置

VirtualHost 配置中加入:

    <Proxy /api>  
         Order deny,allow  
         Allow from all  
     </Proxy>  
     ProxyPass /api http://127.0.0.1:8888      
     ProxyPassReverse /api http://127.0.0.1:8888
此配置目的与 官方 nginx 提供配置类似。

注意

Apache 需要开启 proxy_module

http://127.0.0.1:8888 为后端默认地址,如已更改记得替换您的配置。

Contributor guide