On Tue, Oct 29, 2013 at 07:34:15PM +0100, Philipp Kraus wrote: Hi there,
> location /gitlab { > root /home/gitlab/gitlab/public; > try_files $uri $uri/index.html $uri.html @gitlab; I suspect that the "$uri/index.html" there may cause you problems. You may be better off using "$uri/" instead. > I get this error: > > [error] 4573#0: *4 open() "/home/www/static.css" failed (2: No such file or > directory) What url did you access to get this message? What file on the filesystem did you want it to serve for that url? > How can I tell my location rule, that static content is stored in the correct > root folder? You may need to use "alias" rather than "root"; but that should become clear when you describe the url -> filename mapping that you want. f -- Francis Daly fran...@daoine.org _______________________________________________ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx