Appach代理服务转发node

配置文件

  • 打开一系列的插件

  • 配置反向代理

<VirtualHost 211.69.141.136:80>
       ServerName cotton.hzau.edu.cn
       DocumentRoot /var/www/html/cotton
       ServerAdmin robert@mail.hzau.edu.cn
    ErrorLog logs/cotton.errorlog
    Options +FollowSymLinks
    Proxyrequests off
    <proxy *>
    Order deny,allow
    Allow from all
    </proxy>
    ProxyPass /primer/  http://211.69.141.138:80/
    ProxyPassReverse /primer/  http://211.69.141.138:80/
</VirtualHost>

参考

Last updated