首页 > 代码库 > go:挂webserver

go:挂webserver

apache配置:

<VirtualHost *:80>    ServerName test.com    DocumentRoot /home/q/system/Engine/src/biz/www    ProxyRequests Off     <Proxy *>        Order deny,allow        Allow from all     </Proxy>    ProxyPass /conf/ !    ProxyPass /package/ !    ProxyPass / http://127.0.0.1:8082/    <IfModule mod_deflate.c>        SetOutputFilter DEFLATE    </IfModule>    CustomLog "|/usr/local/apache2/bin/rotatelogs /usr/local/apache2/logs/access_log.%Y%m%d 86400 480" combinedio</VirtualHost>

nginx配置:

 

go:挂webserver