Ah I'll try that. How do i configure the nginx port and should i configure the unicorn port also?
On Wednesday, December 3, 2014 9:57:16 AM UTC, Jeroen de Neef wrote: > > 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 <[email protected] <javascript:> > >: > >> 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 <[email protected] <javascript:> >> >: >> >>> 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 <[email protected]>: >>>> >>>>> 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" <[email protected]>: >>>>>> >>>>>>> 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 [email protected]. >>>>>>> To view this discussion on the web visit >>>>>>> https://groups.google.com/d/msgid/gitlabhq/a09d6e94-4db7-459 >>>>>>> e-a1de-cac71a43f508%40googlegroups.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 [email protected]. >>>>> 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 [email protected] <javascript:>. >>> 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/gitlabhq/43890cf0-a6ea-4454-b7be-9a63a175b255%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
