Skip to content

Commit

Permalink
update deployment scripts and server notes
Browse files Browse the repository at this point in the history
  • Loading branch information
robramsaynz committed Nov 6, 2014
1 parent 1c7b92e commit 5284fc5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions DEPLOYMENT
Expand Up @@ -7,10 +7,9 @@
proxy_buffer_size 32k;
proxy_buffers 6 32k;

* fix bad links to image assets with Nginx. `etc/nginx/sites-enabled/default`:
* Make sure the static assets are served with caching headers. `etc/nginx/sites-enabled/default`:

# Kete tends to generate incorrect links to images: fix this.
rewrite ^/image_files/(.*)$ /system/image_files/$1;
location ~ ^/(system|assets|image_files|audio|video|documents)/ {

* Look for info that needs updating in `app/models/system_setting.rb`, especially server names, URLs and email addresses.

2 changes: 1 addition & 1 deletion config/deploy.rb
Expand Up @@ -28,7 +28,7 @@
set :linked_files, %w{config/database.yml config/secrets.yml config/initializers/secret_token.rb}

# Default value for linked_dirs is []
set :linked_dirs, %w{bin log tmp/pids tmp/cache tmp/sockets vendor/bundle public/system public/uploads}
set :linked_dirs, %w{bin log tmp/pids tmp/cache tmp/sockets vendor/bundle public/audio public/documents public/image_files public/video public/system public/uploads}


# Default value for default_env is {}
Expand Down

0 comments on commit 5284fc5

Please sign in to comment.