1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/monica_ynh.git synced 2024-09-03 19:46:23 +02:00

make index.php root

This commit is contained in:
Sebastian Gumprich 2017-06-23 18:46:33 +02:00
parent 2b0a795f9c
commit 3a8ab5b0b9
3 changed files with 2 additions and 2 deletions

View file

@ -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/) * 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! * This is due to a limitation in monica, not yunohost!
* See [here](https://github.com/monicahq/monica/issues/139) for the current progress. * 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

View file

@ -1,6 +1,7 @@
location ^~ YNH_EXAMPLE_PATH { location ^~ YNH_EXAMPLE_PATH {
alias YNH_WWW_PATH; alias YNH_WWW_PATH;
try_files $uri $uri/ @monica; try_files $uri $uri/ @monica;
index index.php;
location ~ \.php { location ~ \.php {
fastcgi_split_path_info ^(.+?\.php)(/.*)$; fastcgi_split_path_info ^(.+?\.php)(/.*)$;

View file

@ -1 +0,0 @@
yunohost app install /vagrant/monica_ynh/ --debug -n -a "domain=ynh2.dev&path=/&admin=basti&is_public=0&language=en"