Merge pull request #537 from elwebmaster/patch-1

Update nginx-primaryonly.conf
This commit is contained in:
Joshua Tauberer 2015-08-28 15:10:49 -04:00
commit d19c215bf1
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@
location ~ ^/((caldav|carddav|webdav).*)$ {
# Z-Push doesn't like getting a redirect, and a plain rewrite didn't work either.
# Properly proxying like this seems to work fine.
proxy_pass https://$HOSTNAME/cloud/remote.php/$1;
proxy_pass https://127.0.0.1/cloud/remote.php/$1;
}
rewrite ^/.well-known/host-meta /cloud/public.php?service=host-meta last;
rewrite ^/.well-known/host-meta.json /cloud/public.php?service=host-meta-json last;