trampgeek / jobe

jobe is a server that runs small programming jobs in a variety of programming languages
MIT License
108 stars 78 forks source link

how can i install jobe in Nginx? #34

Closed cavic21 closed 2 years ago

cavic21 commented 4 years ago

how can i install jobe in Nginx? Nginx is insalled as my httpserver, how can i install jobe in a Nginx server instead of apacher?

trampgeek commented 3 years ago

Jobe was intended to be a completely self-contained stand alone sandbox server. It is a complete package, with Apache as the web server. It wasn't intended to be installed on some existing server, so there really isn't a good answer to this question, which is why I never addressed it properly (sorry). However, if you really do wish to run Jobe on an existing server you could install Docker and run the Docker image JobeInABox. This uses Apache within the container but you could map the container port (80) to any external port not being used by nginx. Or you could configure nginx as a reverse proxy to redirect requests for selected URIs to the selected port.