Thank you. I need to learn about the Default and Set.Filter directives. I will test this and report back on findings.
On Tuesday, July 8, 2014 7:26:58 AM UTC-7, Henri Gomez wrote: > > I used this setting, http behind unicorn and it works nicely. > Note, I raised unicorn timeout to 90 > > > <VirtualHost *:80> > > ServerAdmin [email protected] <javascript:> > ServerName gitlab.mycorp.com > ServerAlias gitlab-dev.mycorp.com > > SetOutputFilter DEFLATE > SetInputFilter DEFLATE > > DeflateFilterNote Input instream > DeflateFilterNote Output outstream > DeflateFilterNote Ratio ratio > > DocumentRoot /srv/www/gitlab/public > > ProxyPreserveHost On > > <Location /> > Order deny,allow > Allow from all > > ProxyPassReverse http://127.0.0.1:8080 > ProxyPassReverse http://gitlab.mycorp.com/ > </Location> > > RewriteEngine on > RewriteCond %{DOCUMENT_ROOT}/%{REQUEST_FILENAME} !-f > RewriteRule .* http://127.0.0.1:8080%{REQUEST_URI} [P,QSA] > > ErrorDocument 404 /404.html > ErrorDocument 422 /422.html > ErrorDocument 500 /500.html > ErrorDocument 503 /deploy.html > > # Logs > SetEnvIf Request_URI "^/server-status/*" dontlog > ErrorLog /var/log/apache2/gitlab_error_log > CustomLog /var/log/apache2/gitlab_access_log combined env=!dontlog > > </VirtualHost> > > > 2014-07-07 23:57 GMT+02:00 Cord Thomas <[email protected] <javascript:>>: > > > hi, > > > > I have gitlab proxied behind apache. > > > > I am getting intermittent errors when trying to use the download feature > for > > a repository. > > > > I don't see any errors in the gitlab logs and i do not see any errors in > the > > Apache logs. > > > > the file is typically created and a second attempt is successful. > > > > I have proxytimeout set to 30 seconds and the zip files are taking much > less > > time than this, though that could be part of the problem... > > > > Any other thoughts on why we might be getting this error? > > > > Proxy Error > > > > The proxy server received an invalid response from an upstream server. > > The proxy server could not handle the request GET > > /cthomas/rand-slope-one/repository/archive.tar.gz. > > > > Reason: Error reading from remote server > > > > > > Apache configuration: > > > > NameVirtualHost *:80 > > > > <VirtualHost *:80> > > > > ServerName code.rand.org > > > > ProxyTimeout 30 > > > > <Proxy *> > > > > Order deny,allow > > > > Allow from all > > > > </Proxy> > > > > ProxyPass / http://localhost:3000/ > > > > ProxyPassReverse / http://localhost:3000/ > > > > </VirtualHost> > > > > -- > > You received this message because you are subscribed to the Google > Groups > > "GitLab" group. > > To unsubscribe from this group and stop receiving emails from it, send > an > > email to [email protected] <javascript:>. > > To view this discussion on the web visit > > > https://groups.google.com/d/msgid/gitlabhq/171c7d56-6bd7-4a7b-b443-f5342271e899%40googlegroups.com. > > > > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "GitLab" 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/gitlabhq/fbf346e4-51b3-4d76-98b8-4a87def554df%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
