GMOD / Apollo3

JBrowse 2 plugin for editing annotations on an Apollo server
Apache License 2.0
6 stars 4 forks source link

Create reverse proxy config for deployment #364

Closed garrettjstevens closed 4 months ago

garrettjstevens commented 4 months ago

We need an example Apache configuration that creates a reverse proxy. This will be used for documenting deployment methods and perhaps in a docker deployment example.

The idea is that Apache should take any request and if it matches a static file name, return that file, otherwise forward the request to the collaboration server, which will be running on some internal port.

I think you can use a rule like is described here to do the fallback.

garrettjstevens commented 4 months ago

See here: https://github.com/GMOD/Apollo3/blob/0900af99e97e577963d41ab37e67afd7a1fb95b6/docker/httpd.conf

Can try out with docker compose up --build