Closed skjnldsv closed 6 years ago
I tried this on my environment, but I can't get it to run.
My apps2 folder is at /apps2/
So I changed your root /srv/http/;
to root /;
But I still get the error message and the css can't be load.
Why you choose the root location to /srv/http/
? Can you give some help?
@hoellen I'm an idiot, I forgot to edit! :) Let me check.
@skjnldsv Thanks, but it still doesn't work for me. Works it with 12.0.3 or need I a special branch?
@hoellen I added the basic solution used from a basic install, I don't use docker. @Wonderfall will need to take a look.
Thanks for working on this. I tried this solution but it doesn't work for me either. How is the nginx config going to solve the "ResourceLocator can not find a web root" messages in nextcloud? I still receive the error messages in the log. However my browser does not show any urls that are not reachable. So I'm wondering if this is an issue that can be solved by reconfiguring the nginx or if this is something internally in the nextcloud server?
Nginx can't serve a file outside of the webroot, so it's more than a nextcloud issue! :)
Hi, this didn't solve the problem for me.
Fix #257
I'm not a nginx expert. But this works on my dev env.