sisi :)

Vito Falco wrote:
> Mhhmh... boh :)
> Te la butto lì, una cosa stupidissima e piuttosto ovvia: ma quando
> modifichi la configurazione che hai postato cancellando la riga da
> Nginix, poi gli dai una belal refreshata con
> bin/buildout -n ??
>
> Vito
>
> 2010/1/15 andreas <pepe.bz <http://pepe.bz>@gmx.net <http://gmx.net>>
>
>     ciao
>
>     nginx: 80
>     varnish: 8101
>     di zope ce ne sono 4 o 5 tutti serviti allo stesso modo attraverso un
>     buildout che mette su varnish, nginx e supervisor quindi i zope sono
>     dall' 8080 all' 8085 piu o meno
>
>     Vito Falco wrote:
>     > Ciao,
>     > mi dici come hai impilato i vari componenti?
>     >
>     > NGINIX: 80
>     > VARNISH: 8000
>     > ZOPE: 8080
>     > per caso?
>     >
>     > Vito
>     >
>     > 2010/1/15 andreas <pepe.bz <http://pepe.bz>
>     <http://pepe.bz>@gmx.net <http://gmx.net> <http://gmx.net>>
>     >
>     >     ciao
>     >
>     >     vi spiego il mio problema:
>     >
>     >     il buildout crea un web-server nginx e una cache varnish.
>     >     il problema sta nel fatto che se tolgo la rewrite rule da
>     nginx, ma la
>     >     cache non mi serve l'istanza plone nel dato path in zope
>     nonostante
>     >     dovrebbe pensarci varnish no?!
>     >
>     >
>     >
>     >
>     >    
>     
> ##############################################################################
>     >
>     >
>     >        # 2. Configure front-end web server
>     >
>     >    
>     
> ##############################################################################
>     >
>     >        [nginx-webserver]
>     >        recipe = gocept.nginx
>     >        nginx = nginx-build
>     >        configuration =
>     >            user ${users:nginx-webserver};
>     >            error_log
>     ${buildout:directory}/var/log/main-error.log warn;
>     >            worker_processes 1;
>     >            daemon off;
>     >            events {
>     >                worker_connections 1024;
>     >            }
>     >
>     >            http {
>     >                # Proxy to Varnish cache
>     >                upstream cache {
>     >                    server ${host-ip:cache}:${ports:cache};
>     >                }
>     >
>     >                 # TIS3
>     >                server {
>     >                    listen *:${ports:nginx-webserver};
>     >                    server_name ${host-name:miosito};
>     >                    access_log
>     >     ${buildout:directory}/var/log/miosito-access.log;
>     >                    error_log
>     >     ${buildout:directory}/var/log/miosito-error.log;
>     >                    rewrite ^/(.*)
>     >
>     >    
>     
> /VirtualHostBase/http/${host-name:miosito}:${ports:nginx-webserver}/${plone-path:miosito}/VirtualHostRoot/$1
>     >        last;
>     >                    location / {
>     >                        proxy_pass http://cache;
>     >                        client_max_body_size 40M;
>     >                    }
>     >                }
>     >
>     >         }
>     >
>     >
>     >
>     >
>     >    
>     
> ##############################################################################
>     >
>     >
>     >        # 3. Configure Varnish for Plone
>     >
>     >    
>     
> ##############################################################################
>     >
>     >        [cache]
>     >        recipe = plone.recipe.varnish
>     >        daemon =
>     ${buildout:directory}/parts/varnish-build/sbin/varnishd
>     >        bind = ${host-ip:cache}:${ports:cache}
>     >        backends =
>     >
>     >
>     >    
>     
> /VirtualHostBase/http/${host-name:miosito}:${ports:nginx-webserver}/${plone-path:miosito}:${host-ip:miosito}:${ports:miosito}
>     >
>     >        cache-size = 2G
>     >        user = ${users:cache}
>     >        mode = foreground
>     >
>     >
>     >     grazie in anticipo...
>     >
>     >
>     >
>     >
>     >
>     >
>     >
>     >
>     >
>     >     _______________________________________________
>     >     Plone-IT mailing list
>     >     [email protected] <mailto:[email protected]>
>     <mailto:[email protected] <mailto:[email protected]>>
>     >     http://lists.plone.org/mailman/listinfo/plone-it
>     >     http://www.nabble.com/Plone---Italy-f21728.html
>     >
>     >
>     >
>     >
>     > --
>     > "Design is the method of putting form and content together. Design,
>     > just as art, has multiple definitions; there is no single
>     definition.
>     > Design can be art. Design can be aesthetics. Design is so simple,
>     > that's why it is so complicated." by Paul Rand
>     >
>     ------------------------------------------------------------------------
>     >
>     > _______________________________________________
>     > Plone-IT mailing list
>     > [email protected] <mailto:[email protected]>
>     > http://lists.plone.org/mailman/listinfo/plone-it
>     > http://www.nabble.com/Plone---Italy-f21728.html
>
>     _______________________________________________
>     Plone-IT mailing list
>     [email protected] <mailto:[email protected]>
>     http://lists.plone.org/mailman/listinfo/plone-it
>     http://www.nabble.com/Plone---Italy-f21728.html
>
>
>
>
> -- 
> "Design is the method of putting form and content together. Design,
> just as art, has multiple definitions; there is no single definition.
> Design can be art. Design can be aesthetics. Design is so simple,
> that's why it is so complicated." by Paul Rand
> ------------------------------------------------------------------------
>
> _______________________________________________
> Plone-IT mailing list
> [email protected]
> http://lists.plone.org/mailman/listinfo/plone-it
> http://www.nabble.com/Plone---Italy-f21728.html

_______________________________________________
Plone-IT mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/plone-it
http://www.nabble.com/Plone---Italy-f21728.html

Rispondere a