CentOS7.2配置虚拟主机及反向代理

LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_http_module modules/mod_proxy_http.so


    ServerAdmin [email protected]
    DocumentRoot "/var/www/html"
    ServerName bxg.com
    ServerAlias www.bxg.com

    ProxyRequests Off
    ProxyPass /api http://api.botue.com/v5

   # ErrorLog "logs/dummy-host2.example.com-error.log"
   # CustomLog "logs/dummy-host2.example.com-access.log" common


你可能感兴趣的:(CentOS7.2配置虚拟主机及反向代理)