ISPCOnfig 3.1 nginx and Varnish

Discussion in 'General' started by alexqem, Oct 25, 2016.

  1. alexqem

    alexqem New Member

    Hello!
    Can't configure ISPConfig and Varnish. Please, help!
    (found here only german thread)
    I've setted up

    /etc/default/varnish
    DAEMON_OPTS="-a :6081 \
    -T localhost:6082 \
    -f /etc/varnish/default.vcl \
    -S /etc/varnish/secret \
    -s malloc,512m"
    /etc/varnish/default.vcl

    backend default {
    .host = "127.0.0.1";
    .port = "81";
    }
    acl purge {
    "localhost";
    "127.0.0.1";
    }​

    Nginx virtual host /etc/nginx/sites-available/MyDomain.com.vhost
    server {
    listen *:81;
    ...​

    and when I visite MyDomain.com it shows me content from my server IP adress
    /var/www/html/index.html instead /var/www/MyDomain.com/web/index.html


    What Can I do?
     
    Last edited: Oct 26, 2016

Share This Page