Apache som proxyserver i CentOS 7

From Peters wiki
Revision as of 19:59, 31 October 2015 by Peter (talk | contribs)
Jump to navigation Jump to search

Under utveckling.

Proxyn

<VirtualHost *:80>

   ServerName centos1.kerwien.se
   ProxyPreserveHost On
   
   ProxyPass /app1 http://centos3.kerwien.se/app1
   ProxyPassReverse /app1 http://centos3.kerwien.se/app1
   ProxyPass /mediawiki http://centos3.kerwien.se/mediawiki
   ProxyPassReverse /mediawiki http://centos3.kerwien.se/mediawiki
   ProxyPass /wordpress http://centos3.kerwien.se/wordpress
   ProxyPassReverse /wordpress http://centos3.kerwien.se/wordpress
   ProxyPass /phpbb http://centos3.kerwien.se/phpbb
   ProxyPassReverse /phpbb http://centos3.kerwien.se/phpbb

</VirtualHost>