Hi there! Thanks for all the work, I used sabredav multiple times on apache servers and it always worked great. Now I trying to set it up with ubuntu and nginx, but with no luck. I'm having a hard time routing the request to my-domain.com/calendarserver.php/
Without the trailing slash I get an error: <d:error xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns"> <s:sabredav-version>3.1.3</s:sabredav-version> <s:exception>Sabre\DAV\Exception\NotFound</s:exception> <s:message>File not found: calendarserver.php in 'root'</s:message> </d:error> But with the trailing slash I get an Access Denied error, because my .php/ is not a supported extension. Do I need to add this extension in my php config? Here is the error: [error] 18564#18564: *290 FastCGI sent in stderr: "Access to the script '/home/my-domain.com/public/calendarserver.php/' has been denied (see security.limit_extensions)" while reading response header from upstream, client: xx.xx.xx.xx, server: my-domain.com, request: "GET /calendarserver.php/ HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php7.1-fpm.sock:", host: "my-domain.com" A lot of people should have installed sabredav with nginx, right? I must be doing something completly wrong. Here is my location rule: location ^~ /calendarserver.php/ { fastcgi_split_path_info ^(.+\.php)(/.+)$; fastcgi_pass unix:/var/run/php/php7.1-fpm.sock; include fastcgi_params; } The reason I specifically match this, is that all other php requests are handled by a framework. But all other location rules are commented out for testing. So there is no other routing. I would even move the whole framework, which serves an api, to another subdomain, but I would still need to configure nginx... Any ideas? Thanks!! -- You received this message because you are subscribed to the Google Groups "SabreDAV Discussion" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/sabredav-discuss/d2816fdf-0448-4ec0-bc99-70b72432e31e%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
