Kosta
(Kosta Tko)
January 10, 2017, 1:48pm
1
Hi, I have VPS Ubuntu with some PHP software as SMF and WP , Webmin using, Apache and MSQL .
Can I add Discourse or it requires server for itself?
erlend_sh
(Erlend Sogge Heggen)
January 10, 2017, 1:49pm
2
Sounds like you should follow this tutorial:
It’s not as daunting as it sounds!
While this may sound a bit intimidating at first, it’s really not all that bad. You basically need to do two things:
Install HAProxy (or an alternative) which will take over port 80 and then divert your Discourse traffic to your docker container, and all your other sites to your usual Apache set-up.
Let Apache know which port to listen for.
While this is only a rough guide, it should do a good job of pointing you in the right direction. Let’s get star…
pfaffman
(Jay Pfaffman)
January 10, 2017, 1:52pm
3
It’ll be easiest on a server by itself. It’s not too hard to configure apache as a reverse proxy as @erlend_sh suggests, but it might be tricky to do that with webmin in the mix.
Kosta
(Kosta Tko)
January 10, 2017, 1:57pm
4
Thanks, @Sogge Heggen, so it can be done but for me it looks to much.
@Jay Pfaffman, Yes, It looks much simpler on its own.
Fast answers