requarks / wiki-v1

Legacy version (1.x) of Wiki.js
https://wiki.js.org
GNU Affero General Public License v3.0
101 stars 75 forks source link

Just displaying files #176

Closed ZakShearman closed 3 years ago

ZakShearman commented 5 years ago

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.

ZakShearman commented 5 years ago

So I found this:

2019-02-24T11:04:34.875Z - error: [SERVER] Port 80 is already in use! 2019-02-24T11:04:40.089Z - error: [SERVER] Port 80 is already in use! 2019-02-24T11:04:45.182Z - error: [SERVER] Port 80 is already in use! 2019-02-24T11:04:50.548Z - error: [SERVER] Port 80 is already in use!

ZakShearman commented 5 years ago

Is there any way of running my other sites at the same time as WIKI.JS?

NGPixel commented 5 years ago

You cannot run 2 processes on the same port.

You'll need a reverse proxy such as nginx to achieve what you want.

ZakShearman commented 5 years ago

Ok, welp. Thanks for the help.

winkelement commented 5 years ago

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.

ZakShearman commented 5 years ago

I have tried to set this up and I get 503 service currently unavailable.

ZakShearman commented 5 years ago

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.

ZakShearman commented 5 years ago

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.

FiyaFly commented 5 years ago

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.