1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/ihatemoney_ynh.git synced 2024-09-03 19:26:15 +02:00

Bump yunohost requirement to 4.3.0

This commit is contained in:
Salamandar 2021-12-22 11:05:29 +01:00
parent eeb435e178
commit a1ab5d149b
2 changed files with 2 additions and 6 deletions

View file

@ -3,11 +3,6 @@ location __PATH__/static/ {
alias __PYTHON_VENV_SITE_PACKAGES__/ihatemoney/static/;
}
location __PATH__/ {
# Force usage of https
if ($scheme = http) {
rewrite ^ https://$server_name$request_uri? permanent;
}
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $http_host;
proxy_redirect off;
@ -18,6 +13,7 @@ location __PATH__/ {
proxy_buffers 8 16k;
proxy_busy_buffers_size 32k;
proxy_intercept_errors on;
if (!-f $request_filename) {
proxy_pass http://unix:/tmp/budget.gunicorn___APP__.sock;
break;

View file

@ -22,7 +22,7 @@
"url": "https://jocelyn.delalande.fr"
},
"requirements": {
"yunohost": ">= 4.1.0"
"yunohost": ">= 4.3.0"
},
"multi_instance": true,
"services": ["nginx", "mysql", "postfix"],