Closed ZakShearman closed 3 years ago
So I found this:
2019-02-24T11:04:34.875Z - [31merror[39m: [SERVER] Port 80 is already in use! 2019-02-24T11:04:40.089Z - [31merror[39m: [SERVER] Port 80 is already in use! 2019-02-24T11:04:45.182Z - [31merror[39m: [SERVER] Port 80 is already in use! 2019-02-24T11:04:50.548Z - [31merror[39m: [SERVER] Port 80 is already in use!
Is there any way of running my other sites at the same time as WIKI.JS?
You cannot run 2 processes on the same port.
You'll need a reverse proxy such as nginx to achieve what you want.
Ok, welp. Thanks for the help.
Since you already have apache running you can simply use ProxyPass
to route requests to your node app (wiki js). See here for example.
You have to change the port for wiki js from 80 to something else before.
You might consider using a dedicated reverse proxy for all your routing, check out nginx or haproxy.
I have tried to set this up and I get 503 service currently unavailable.
Are we able to speak somewhere that is not on GitHub issues so that it is easier for me to get this fixed in a location that has less hassle.
Since you already have apache running you can simply use
ProxyPass
to route requests to your node app (wiki js). See here for example. You have to change the port for wiki js from 80 to something else before.You might consider using a dedicated reverse proxy for all your routing, check out nginx or haproxy.
I am getting a new VPS and I think I will be using this chance to switch to NGINX.
Since you already have apache running you can simply use
ProxyPass
to route requests to your node app (wiki js). See here for example. You have to change the port for wiki js from 80 to something else before. You might consider using a dedicated reverse proxy for all your routing, check out nginx or haproxy.I am getting a new VPS and I think I will be using this chance to switch to NGINX.
I've been digging into nginx a bit recently as well. I'm no master, but let me know how far you've gotten, or if you'd like a hand.
I realise that this is most likely an issue in my setup but I did not know where I would be able to get support so I realised that this is the best place.
I am getting this when I try to go to the URL that I have set up for the wiki: https://i.zak.pink/19-02-10-49-26_191.png.
Any help appreciated.