Re: location problem with static content

2013-10-30 Thread Francis Daly
On Wed, Oct 30, 2013 at 11:15:42AM +0100, Philipp Kraus wrote: > Am 29.10.2013 um 21:30 schrieb Francis Daly : > > On Tue, Oct 29, 2013 at 07:34:15PM +0100, Philipp Kraus wrote: Hi there, There are a few possible different reasons for things not to be working the way you want. The best chance of

Re: location problem with static content

2013-10-30 Thread Philipp Kraus
Am 29.10.2013 um 21:30 schrieb Francis Daly : > 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

Re: location problem with static content

2013-10-29 Thread Francis Daly
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

location problem with static content

2013-10-29 Thread Philipp Kraus
Hello, I have created for my GitLab installation this entries in the configuration: location /gitlab { root /home/gitlab/gitlab/public; try_files $uri $uri/index.html $uri.html @gitlab; } location @gitlab { proxy_read_timeout 300; proxy_connect_ti