Permalink
Browse files

Updated nginx.conf with _setup_ rewrite rule

The _setup_ rule ensures that the root of zope is always available at the 
url /_setup_
  • Loading branch information...
1 parent a30252c commit fcbdf6d9484b27d687f6fabd51577b19e3f6e34b @pigeonflight committed Feb 11, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 nginx.conf
View
@@ -2,8 +2,8 @@
# a subdirectory
# the example assumes that the plone site is called `Plone` is
# served at a subdirectory called `site`.
-location /plone-setup/ {
- rewrite ^/plone-setup/(.*)$ /VirtualHostBase/http/$http_host:80/VirtualHostRoot/_vh_plone_setup/$1 break;
+location /_setup_/ {
+ rewrite ^/_setup_/(.*)$ /VirtualHostBase/http/$http_host:80/VirtualHostRoot/_vh__setup_/$1 break;
proxy_pass http://127.0.0.1:8080;
include /home/dotcloud/current/proxy.conf;
}

0 comments on commit fcbdf6d

Please sign in to comment.