mirror of
https://github.com/vale981/phoebe
synced 2025-03-04 17:31:41 -05:00
Slight permission change so that nginx and serve Rails assets
Now that we point nginx at /var/lib/rails instead of /nix/store we need to change the permissions on the app home to allow nginx to read files from the Rails' public directory.
This commit is contained in:
parent
94d6158f04
commit
5fcb3fb482
1 changed files with 1 additions and 1 deletions
|
@ -79,7 +79,7 @@ let
|
|||
|
||||
# Fix permissions:
|
||||
chown -R rails-${app.name}:rails-${app.name} ${app.home}
|
||||
chmod go+rx $(dirname "${app.home}")
|
||||
chmod go+rx $(dirname "${app.home}") "${app.home}"
|
||||
chmod u+w ${app.home}/db/schema.rb
|
||||
|
||||
'' + optionalString (service.isMain && app.database.migrate) ''
|
||||
|
|
Loading…
Add table
Reference in a new issue