putting-varnish-in-front-of-apache-on-ubuntu-debian

Discussion in 'HOWTO-Related Questions' started by Hans, Mar 12, 2011.

  1. Hans

    Hans Moderator ISPConfig Developer

  2. falko

    falko Super Moderator ISPConfig Developer

    As you said, the problem is that you'd have to change the port manually in the vhost configurations...
     
  3. Hans

    Hans Moderator ISPConfig Developer

    So probably it can be done automaticly by using Apache's Reverse Proxy Feature. Did anyone did that already for Varnish?
     
  4. falko

    falko Super Moderator ISPConfig Developer

    I haven't tried that yet. In fact, we're working with Squid here.
     
  5. itsnedkeren

    itsnedkeren New Member

    Edit /usr/local/ispconfig/server/conf/vhost.conf.master

    change this line:
    Code:
    <VirtualHost <tmpl_var name='ip_address'>:80>
    to this:
    Code:
    <VirtualHost <tmpl_var name='ip_address'>:8000>

    All newly created sites within ISPConfig3 will be created with a vhost on port 8080! Works for me.
     
  6. pakogah

    pakogah New Member

    but one think to remembered the file /usr/local/ispconfig/server/conf/vhost.conf.master will be replaced if you upgrade the ispconfig.

    Now I am looking to do this on centos ???
     
  7. esezako

    esezako New Member

    suscribing
     
  8. RapidSpeeds

    RapidSpeeds New Member

    Something tells me that everything worked out fine and you managed to get it working?
     
  9. esezako

    esezako New Member

    Falko, how can i user squid with ispconfig 3?

    Thank's
     

Share This Page