Oops, I left something incorrect in it because I copied it from my config and forgot to edit some parts.
*ProxyRequests Off* *ProxyPass / http://127.0.0.1:8000/ <https://127.0.0.1:8000/>* *ProxyPassReverse / http://127.0.0.1:8000/ <https://127.0.0.1:8000/>* *ProxyPreserveHost On* *<Location />* *AddOutputFilterByType SUBSTITUTE text/html* *Substitute "s|http://example.com:8000|http://example.com:80|i"* *</Location>* *<Proxy *>* * Order deny,allow* * Allow from all* *</Proxy>* This should be correct. 2014-12-03 10:55 GMT+01:00 Jeroen de Neef <jeroe...@gmail.com>: > An easy solution to that issue that I also use myself is by running it on > nginx on lets say port 8000 and configure in Apache to reverse proxy it. > > This is what I think that you should have in your config, I have about the > same and even went the extra mile and installed a certificate. > > *ProxyRequests Off* > *ProxyPass / https://127.0.0.1:8000/ <https://127.0.0.1:8000/>* > *ProxyPassReverse / https://127.0.0.1:8000/ <https://127.0.0.1:8000/>* > *ProxyPreserveHost On* > *<Location />* > *AddOutputFilterByType SUBSTITUTE text/html* > *Substitute "s|http://example.com:8000|http://example.com:80|i"* > *</Location>* > *<Proxy *>* > * Order deny,allow* > * Allow from all* > *</Proxy>* > > I hope that this will help you on the way. > > 2014-12-03 9:35 GMT+01:00 Robbie McTavish <riy...@gmail.com>: > >> I use apache to host all the other services via port 80. So I would >> rather have it also run through apache to prevent it having to be addressed >> on a separate port. >> >> On Tuesday, December 2, 2014 8:03:29 PM UTC, Jeroen de Neef wrote: >>> >>> If I may ask, what is preventing you from running GitLab on nginx? >>> >>> 2014-12-02 16:48 GMT+01:00 Robbie McTavish <riy...@gmail.com>: >>> >>>> 4 Core x64 CPU >>>> 32 Gig RAM >>>> 800 Gigs of Storage >>>> >>>> VM running on a Vsphere server >>>> >>>> If I run it with nginx it loads quickly but apache just churns >>>> >>>> >>>> On Tuesday, December 2, 2014 3:24:47 PM UTC, Jeroen de Neef wrote: >>>>> >>>>> Hi Robbie, >>>>> >>>>> Could you list the specs from the server such as the cpu and the RAM? >>>>> >>>>> Kind regards, >>>>> Jeroen >>>>> Op 2 dec. 2014 16:20 schreef "Robbie McTavish" <riy...@gmail.com>: >>>>> >>>>>> Hi >>>>>> >>>>>> After much mucking about I finally got gitlab to run with Apache. i >>>>>> have used the apache configs from the repo and altered ports. >>>>>> >>>>>> However when pointed at the address for gitlab the pages take upwards >>>>>> of 5 minutes to load. >>>>>> >>>>>> I can see nothing in the apache logs. >>>>>> >>>>>> Does anyone have any idea why it may be taking so long to load pages? >>>>>> >>>>>> nginx is disabled. >>>>>> unicorn is on port 4000 >>>>>> >>>>>> >>>>>> Regards >>>>>> >>>>>> Robbie >>>>>> >>>>>> -- >>>>>> 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 gitlabhq+u...@googlegroups.com. >>>>>> To view this discussion on the web visit https://groups.google.com/d/ >>>>>> msgid/gitlabhq/a09d6e94-4db7-459e-a1de-cac71a43f508%40googlegr >>>>>> oups.com >>>>>> <https://groups.google.com/d/msgid/gitlabhq/a09d6e94-4db7-459e-a1de-cac71a43f508%40googlegroups.com?utm_medium=email&utm_source=footer> >>>>>> . >>>>>> 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 gitlabhq+u...@googlegroups.com. >>>> To view this discussion on the web visit https://groups.google.com/d/ >>>> msgid/gitlabhq/7d0ca710-a823-4c04-88a6-79c5e0440b6d%40googlegroups.com >>>> <https://groups.google.com/d/msgid/gitlabhq/7d0ca710-a823-4c04-88a6-79c5e0440b6d%40googlegroups.com?utm_medium=email&utm_source=footer> >>>> . >>>> 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 gitlabhq+unsubscr...@googlegroups.com. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/gitlabhq/3d49a4b9-307a-47c8-a817-54c238cd9d79%40googlegroups.com >> <https://groups.google.com/d/msgid/gitlabhq/3d49a4b9-307a-47c8-a817-54c238cd9d79%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> >> 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 gitlabhq+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/gitlabhq/CALXQekvFG0VbSUWd20mSOkuQO03QMeZGqgFk4epUuz6d--FxhQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.