From dfd3f1ed291a69ba9722d4a48190144fe3f63de5 Mon Sep 17 00:00:00 2001 From: Geoff Montel Date: Tue, 1 Oct 2019 15:09:50 +0200 Subject: [PATCH] Hotfix for NGINX + add production target --- DEV-v1-staging.md | 19 +++++++++++++++++++ conf/nginx.conf | 2 +- 2 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 DEV-v1-staging.md diff --git a/DEV-v1-staging.md b/DEV-v1-staging.md new file mode 100644 index 0000000..5563854 --- /dev/null +++ b/DEV-v1-staging.md @@ -0,0 +1,19 @@ +# What it takes to go to v1 + +Package will be in v1 and in "working" conditions in Yunohost-Apps when: + +- [x] All codes will be finished +- [x] First bash review performed +- [x] Reviewed with package-linter +- [ ] Remove all the TODOs +- [ ] CI tested on vagrant : install +- [ ] Remove tested : nothing must be left +- [ ] Quiet-ize installer +- [ ] Measure timing of installer to bring proper weight + +And some breadcrumbs: +- [ ] change way to install ruby with crappy `rbenv` +- [ ] Remove: if the PostgreSQL is empty, remove it +- [ ] fully remove `/var/$app` (ynh helper crappy?) + +Goal of full-quality :) diff --git a/conf/nginx.conf b/conf/nginx.conf index a4cd604..5367aaa 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -12,7 +12,7 @@ location __PATH__/ { proxy_buffering off; tcp_nodelay on; access_log off; - X-Forwarded-Proto https; + proxy_set_header X-Forwarded-Proto https; # Include SSOWAT user panel. include conf.d/yunohost_panel.conf.inc;