1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/tandoor_ynh.git synced 2024-09-03 20:35:56 +02:00

subfolder

This commit is contained in:
Éric Gaspar 2024-07-22 11:15:57 +02:00
parent d78c239591
commit 463ab3c784
3 changed files with 7 additions and 7 deletions

View file

@ -12,22 +12,17 @@ TANDOOR_PORT=__PORT__
ALLOWED_HOSTS=__DOMAIN__
# random secret key, use for example `base64 /dev/urandom | head -c50` to generate one
# ---------------------------- REQUIRED -------------------------
SECRET_KEY=__SECRETKEY__
# ---------------------------------------------------------------
# your default timezone See https://timezonedb.com/time-zones for a list of timezones
TZ=__TIMEZONE__
# add only a database password if you want to run with the default postgres, otherwise change settings accordingly
DB_ENGINE=django.db.backends.postgresql
# DB_OPTIONS= {} # e.g. {"sslmode":"require"} to enable ssl
POSTGRES_HOST=127.0.0.1
POSTGRES_PORT=5432
POSTGRES_USER=__DB_USER__
# ---------------------------- REQUIRED -------------------------
POSTGRES_PASSWORD=__DB_PWD__
# ---------------------------------------------------------------
POSTGRES_DB=__DB_NAME__
# the default value for the user preference 'fractions' (enable/disable fraction support)
@ -48,7 +43,7 @@ SHOPPING_MIN_AUTOSYNC_INTERVAL=5
# If base URL is something other than just / (you are serving a subfolder in your proxy for instance http://recipe_app/recipes/)
# Be sure to not have a trailing slash: e.g. '/recipes' instead of '/recipes/'
#SCRIPT_NAME=__PATH__/
SCRIPT_NAME=__PATH__
# If staticfiles are stored at a different location uncomment and change accordingly, MUST END IN /
# this is not required if you are just using a subfolder

View file

@ -17,7 +17,7 @@ location __PATH__/ {
# include conf.d/yunohost_panel.conf.inc;
}
location /media/ {
location __PATH__/media/ {
alias __INSTALL_DIR__/mediafiles/;
}

View file

@ -34,6 +34,11 @@ ram.runtime = "1500M"
[install.domain]
type = "domain"
[install.path]
# this is a generic question - ask strings are automatically handled by YunoHost's core
type = "path"
default = "/recipies"
[install.init_main_permission]
type = "group"