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
|
#!/bin/bash
|
||||||
|
|
||||||
if ! [ -s __FINALPATH__/live/tmp/pids/delayed_job.pid ]; then
|
if ! [ -s __INSTALL_DIR__/live/tmp/pids/delayed_job.pid ]; then
|
||||||
RAILS_ENV=production __FINALPATH__/live/bin/delayed_job start
|
RAILS_ENV=production __INSTALL_DIR__/live/bin/delayed_job start
|
||||||
fi
|
fi
|
|
@ -2,7 +2,7 @@
|
||||||
location __PATH__/ {
|
location __PATH__/ {
|
||||||
|
|
||||||
# Path to source
|
# Path to source
|
||||||
alias __FINALPATH__/live/public/;
|
alias __INSTALL_DIR__/live/public/;
|
||||||
|
|
||||||
client_max_body_size 32M;
|
client_max_body_size 32M;
|
||||||
|
|
||||||
|
@ -17,7 +17,7 @@ location __PATH__/ {
|
||||||
location __PATH__/decidim-packs/ {
|
location __PATH__/decidim-packs/ {
|
||||||
|
|
||||||
# Path to source
|
# Path to source
|
||||||
alias __FINALPATH__/live/public/decidim-packs/;
|
alias __INSTALL_DIR__/live/public/decidim-packs/;
|
||||||
gzip_static on;
|
gzip_static on;
|
||||||
expires max;
|
expires max;
|
||||||
more_set_headers "Cache-Control: public";
|
more_set_headers "Cache-Control: public";
|
||||||
|
|
|
@ -4,7 +4,7 @@ test:
|
||||||
|
|
||||||
local:
|
local:
|
||||||
service: Disk
|
service: Disk
|
||||||
root: __DATADIR__
|
root: __DATA_DIR__
|
||||||
|
|
||||||
# Use rails credentials:edit to set the AWS secrets (as aws:access_key_id|secret_access_key)
|
# Use rails credentials:edit to set the AWS secrets (as aws:access_key_id|secret_access_key)
|
||||||
# amazon:
|
# amazon:
|
||||||
|
|
Loading…
Add table
Reference in a new issue