Apache som proxyserver i CentOS 7: Difference between revisions

From Peters wiki
Jump to navigation Jump to search
m Peter moved page Apache webproxy i CentOS 7 to Apache som proxyserver i CentOS 7 without leaving a redirect
mNo edit summary
Line 1: Line 1:
Under utveckling.
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>


[[Category:Guide]]
[[Category:Guide]]

Revision as of 19:59, 31 October 2015

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>