I upgraded my owncloud to 8 and been having issues with it ever since. I have tried the nginx Directives found at https://doc.owncloud.org/server/8.0/admin_manual/installation/nginx_configuration.html and it gives me an [emerg] 11369#0: unexpected "{" in /etc/nginx/sites-enabled/100-server:123 and I just can't figure it out. I don't see an unexpected { Is there an directive that we can use in conjunction with ISPconfig? Cheers!
The page shows a full server configuration and not just nginx directives for owncloud, copying a server config into another server config cant work. Try to use only the owncloud directives: Code: rewrite ^/caldav(.*)$ /remote.php/caldav$1 redirect; rewrite ^/carddav(.*)$ /remote.php/carddav$1 redirect; rewrite ^/webdav(.*)$ /remote.php/webdav$1 redirect; location = /robots.txt { allow all; log_not_found off; access_log off; } location ~ ^/(?:\.htaccess|data|config|db_structure\.xml|README){ deny all; } location / { # The following 2 rules are only needed with webfinger rewrite ^/.well-known/host-meta /public.php?service=host-meta last; rewrite ^/.well-known/host-meta.json /public.php?service=host-meta-json last; rewrite ^/.well-known/carddav /remote.php/carddav/ redirect; rewrite ^/.well-known/caldav /remote.php/caldav/ redirect; rewrite ^(/core/doc/[^\/]+/)$ $1/index.html; try_files $uri $uri/ /index.php; } # Optional: set long EXPIRES header on static assets location ~* \.(?:jpg|jpeg|gif|bmp|ico|png|css|js|swf)$ { expires 30d; # Optional: Don't log access to assets access_log off; }
So I tried it and it still gives me the same error and creates a page 500 error. My ISPconfig configuration won't take it. Is it better to just go back to owncloud 7?