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:
parent
eeb435e178
commit
a1ab5d149b
2 changed files with 2 additions and 6 deletions
|
@ -3,11 +3,6 @@ location __PATH__/static/ {
|
||||||
alias __PYTHON_VENV_SITE_PACKAGES__/ihatemoney/static/;
|
alias __PYTHON_VENV_SITE_PACKAGES__/ihatemoney/static/;
|
||||||
}
|
}
|
||||||
location __PATH__/ {
|
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 X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||||
proxy_set_header Host $http_host;
|
proxy_set_header Host $http_host;
|
||||||
proxy_redirect off;
|
proxy_redirect off;
|
||||||
|
@ -18,6 +13,7 @@ location __PATH__/ {
|
||||||
proxy_buffers 8 16k;
|
proxy_buffers 8 16k;
|
||||||
proxy_busy_buffers_size 32k;
|
proxy_busy_buffers_size 32k;
|
||||||
proxy_intercept_errors on;
|
proxy_intercept_errors on;
|
||||||
|
|
||||||
if (!-f $request_filename) {
|
if (!-f $request_filename) {
|
||||||
proxy_pass http://unix:/tmp/budget.gunicorn___APP__.sock;
|
proxy_pass http://unix:/tmp/budget.gunicorn___APP__.sock;
|
||||||
break;
|
break;
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
"url": "https://jocelyn.delalande.fr"
|
"url": "https://jocelyn.delalande.fr"
|
||||||
},
|
},
|
||||||
"requirements": {
|
"requirements": {
|
||||||
"yunohost": ">= 4.1.0"
|
"yunohost": ">= 4.3.0"
|
||||||
},
|
},
|
||||||
"multi_instance": true,
|
"multi_instance": true,
|
||||||
"services": ["nginx", "mysql", "postfix"],
|
"services": ["nginx", "mysql", "postfix"],
|
||||||
|
|
Loading…
Add table
Reference in a new issue