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 Plone-IT@lists.plone.org http://lists.plone.org/mailman/listinfo/plone-it http://www.nabble.com/Plone---Italy-f21728.html