Merge pull request #80 from paulflorianhoberg/patch-1

added rewrite rules for nginx host
This commit is contained in:
Jérôme Schneider 2013-05-26 00:15:51 -07:00
commit 6f7d38aa75

View file

@ -5,6 +5,9 @@ server {
root /var/www/dav.mydomain.com; root /var/www/dav.mydomain.com;
index index.php; index index.php;
rewrite ^/.well-known/caldav /cal.php redirect;
rewrite ^/.well-known/carddav /card.php redirect;
charset utf-8; charset utf-8;
location ~ /(\.ht|Core|Specific) { location ~ /(\.ht|Core|Specific) {