mirror of
https://github.com/YunoHost-Apps/decidim_ynh.git
synced 2024-09-03 18:26:00 +02:00
V2
This commit is contained in:
parent
263d84a94b
commit
b02c38d3ac
3 changed files with 5 additions and 5 deletions
|
@ -1,5 +1,5 @@
|
|||
#!/bin/bash
|
||||
|
||||
if ! [ -s __FINALPATH__/live/tmp/pids/delayed_job.pid ]; then
|
||||
RAILS_ENV=production __FINALPATH__/live/bin/delayed_job start
|
||||
if ! [ -s __INSTALL_DIR__/live/tmp/pids/delayed_job.pid ]; then
|
||||
RAILS_ENV=production __INSTALL_DIR__/live/bin/delayed_job start
|
||||
fi
|
|
@ -2,7 +2,7 @@
|
|||
location __PATH__/ {
|
||||
|
||||
# Path to source
|
||||
alias __FINALPATH__/live/public/;
|
||||
alias __INSTALL_DIR__/live/public/;
|
||||
|
||||
client_max_body_size 32M;
|
||||
|
||||
|
@ -17,7 +17,7 @@ location __PATH__/ {
|
|||
location __PATH__/decidim-packs/ {
|
||||
|
||||
# Path to source
|
||||
alias __FINALPATH__/live/public/decidim-packs/;
|
||||
alias __INSTALL_DIR__/live/public/decidim-packs/;
|
||||
gzip_static on;
|
||||
expires max;
|
||||
more_set_headers "Cache-Control: public";
|
||||
|
|
|
@ -4,7 +4,7 @@ test:
|
|||
|
||||
local:
|
||||
service: Disk
|
||||
root: __DATADIR__
|
||||
root: __DATA_DIR__
|
||||
|
||||
# Use rails credentials:edit to set the AWS secrets (as aws:access_key_id|secret_access_key)
|
||||
# amazon:
|
||||
|
|
Loading…
Reference in a new issue