Merge pull request #80 from paulflorianhoberg/patch-1
added rewrite rules for nginx host
This commit is contained in:
commit
6f7d38aa75
1 changed files with 3 additions and 0 deletions
|
@ -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) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue