Permalink
Browse files

updated readme and various configuration files

  • Loading branch information...
pigeonflight committed Nov 14, 2012
1 parent 273dadc commit e4bb1fb24725f57268ffced0c8d7a2347def8eab
Showing with 23 additions and 34 deletions.
  1. +8 −2 README.md
  2. +4 −16 nginx.conf
  3. +3 −15 plone-uwsgi.conf
  4. +8 −1 supervisord.conf
View
@@ -7,9 +7,15 @@ This stack allows you deploy a basic Plone instance to dotcloud.
In this boiler plate you will find the basic to get a Plone stack running:
* Use of the dotCoud environment
* wsgi setup
-* getPlone.sh script `dotCloud.yml` a `postinstall script that grabs a set of packages (eggs) known to work on dotcloud and then builds a plone instance.
+* `getplone.sh` script `dotCloud.yml` a `postinstall script that grabs a set of packages (eggs) known to work on dotcloud and then builds a plone instance.
##Usage:
-
+
+ instance=instancename
git clone git@github.com:pigeonflight/stack-python-plone.git
+$instance
+ cd $instance
+ dotcloud create $instance
+ dotcloud push
+##
View
@@ -2,20 +2,8 @@
# a subdirectory
# the example assumes that the plone site is called `Plone` is
# served at a subdirectory called `site`.
-location /site/ {
- rewrite ^/plone/(.*) /VirtualHostBase/http/$server_name:80/VirtualHostRoot/_vh_plone/$1;
- proxy_pass http://127.0.0.1:8080/VirtualHostBase/http/$host:80/Plone/VirtualHostRoot/_vh_site/;
- proxy_redirect off;
- proxy_set_header Host $host;
- proxy_set_header X-Real-IP $remote_addr;
- proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
- client_max_body_size 0;
- client_body_buffer_size 128k;
- proxy_connect_timeout 90;
- proxy_send_timeout 90;
- proxy_read_timeout 90;
- proxy_buffer_size 4k;
- proxy_buffers 4 32k;
- proxy_busy_buffers_size 64k;
- proxy_temp_file_write_size 64k;
+location /plone-setup/ {
+ rewrite ^/plone-setup/(.*)$ /VirtualHostBase/http/$http_host:80/VirtualHostRoot/_vh_plone_setup/$1 break;
+ proxy_pass http://127.0.0.1:8080;
+ include /home/dotcloud/current/proxy.conf;
}
View
@@ -1,19 +1,7 @@
# This configuration file overrides the default file and allows you to run
# your zope instance at the root of your dotcloud instance
location ^~ / {
- proxy_pass http://127.0.0.1:8080/VirtualHostBase/http/$host:80/VirtualHostRoot/;
-
- proxy_redirect off;
- proxy_set_header Host $host;
- proxy_set_header X-Real-IP $remote_addr;
- proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
- client_max_body_size 0;
- client_body_buffer_size 128k;
- proxy_connect_timeout 90;
- proxy_send_timeout 90;
- proxy_read_timeout 90;
- proxy_buffer_size 4k;
- proxy_buffers 4 32k;
- proxy_busy_buffers_size 64k;
- proxy_temp_file_write_size 64k;
+ rewrite ^(.*)$ /VirtualHostBase/http/$http_host:80/VirtualHostRoot$1 break;
+ proxy_pass http://127.0.0.1:8080;
+ include /home/dotcloud/current/proxy.conf;
}
View
@@ -1,5 +1,12 @@
+[program:zeoserver]
+command = /home/dotcloud/current/parts/zeoserver/bin/runzeo
+process_name = plone
+directory = /home/dotcloud/current/bin
+priority = 10
+redirect_stderr = true
+user = dotcloud
[program:plone]
-command = /home/dotcloud/current/bin/plone console
+command = /home/dotcloud/current/bin/instance console
process_name = plone
directory = /home/dotcloud/current/bin
priority = 20

0 comments on commit e4bb1fb

Please sign in to comment.