flipped-aurora/gin-vue-admin

Apache部署GVA项目

Open

#440 geöffnet am 21. Apr. 2021

Auf GitHub ansehen
 (0 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Go (6.067 Forks)batch import
good first issue

Repository-Metriken

Stars
 (20.403 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 6T 14h) (6 gemergte PRs in 30 T)

Beschreibung

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