From 3a8ab5b0b98372e7612e4bafe1ba739649a50ee6 Mon Sep 17 00:00:00 2001 From: Sebastian Gumprich Date: Fri, 23 Jun 2017 18:46:33 +0200 Subject: [PATCH] make index.php root --- README.md | 2 +- conf/nginx.conf | 1 + install | 1 - 3 files changed, 2 insertions(+), 2 deletions(-) delete mode 100644 install diff --git a/README.md b/README.md index e6c9d45..c56d86a 100644 --- a/README.md +++ b/README.md @@ -13,4 +13,4 @@ Personal Relationship Manager - a new kind of CRM to organize interactions with * Currently it is only possible to install monica into the root of a domain (eg. https://example.com/) * This is due to a limitation in monica, not yunohost! * See [here](https://github.com/monicahq/monica/issues/139) for the current progress. -* [ ] make root domain redirect to index.php +* [x] make root domain redirect to index.php diff --git a/conf/nginx.conf b/conf/nginx.conf index db10d02..3bacff7 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -1,6 +1,7 @@ location ^~ YNH_EXAMPLE_PATH { alias YNH_WWW_PATH; try_files $uri $uri/ @monica; + index index.php; location ~ \.php { fastcgi_split_path_info ^(.+?\.php)(/.*)$; diff --git a/install b/install deleted file mode 100644 index d80b2d8..0000000 --- a/install +++ /dev/null @@ -1 +0,0 @@ -yunohost app install /vagrant/monica_ynh/ --debug -n -a "domain=ynh2.dev&path=/&admin=basti&is_public=0&language=en"