1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/fider_ynh.git synced 2024-09-03 18:36:11 +02:00
This commit is contained in:
Éric Gaspar 2023-11-12 10:48:03 +01:00 committed by Salamandar
parent 2f9bd46ea0
commit 93a66bc657
3 changed files with 10 additions and 4 deletions

View file

@ -1,6 +1,7 @@
#sub_path_only rewrite ^__PATH__$ __PATH__/ permanent; #sub_path_only rewrite ^__PATH__$ __PATH__/ permanent;
location __PATH__/ { location __PATH__/ {
proxy_pass http://localhost:__PORT__;
proxy_pass http://127.0.0.1:__PORT__;
proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-Proto $scheme; proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

View file

@ -19,9 +19,11 @@ export EMAIL_NOREPLY=__APP__@__DOMAIN__
# EMAIL # EMAIL
### ###
export EMAIL_SMTP_HOST=127.0.0.1 export EMAIL_SMTP_HOST=localhost
export EMAIL_SMTP_PORT=25 export EMAIL_SMTP_PORT=25
export EMAIL_SMTP_ENABLE_STARTTLS='false' export EMAIL_SMTP_ENABLE_STARTTLS='false'
export EMAIL_SMTP_USERNAME=__APP__
export EMAIL_SMTP_PASSWORD=__MAIL_PWD__
# This file is provided to the administrator to customize OAuth etc. # This file is provided to the administrator to customize OAuth etc.
if [[ -f "custom_fider_env" ]]; then if [[ -f "custom_fider_env" ]]; then

View file

@ -17,11 +17,14 @@ admindoc = "https://fider.io/docs"
code = "https://github.com/getfider/fider" code = "https://github.com/getfider/fider"
[integration] [integration]
yunohost = ">= 11.1.20" yunohost = ">= 11.2"
architectures = "all" architectures = "all"
multi_instance = true multi_instance = true
ldap = false ldap = false
sso = false sso = false
disk = "50M" disk = "50M"
ram.build = "1200M" ram.build = "1200M"
ram.runtime = "50M" ram.runtime = "50M"
@ -51,10 +54,10 @@ ram.runtime = "50M"
[resources.sources.main] [resources.sources.main]
url = "https://github.com/getfider/fider/archive/refs/tags/v0.21.1.tar.gz" url = "https://github.com/getfider/fider/archive/refs/tags/v0.21.1.tar.gz"
sha256 = "b981360d7017849e1efd0ae0970df6239a32ebdca2be35785b1208f1552fe99e" sha256 = "b981360d7017849e1efd0ae0970df6239a32ebdca2be35785b1208f1552fe99e"
autoupdate.strategy = "latest_github_release" autoupdate.strategy = "latest_github_release"
[resources.system_user] [resources.system_user]
allow_email = true
[resources.install_dir] [resources.install_dir]