mirror of
https://github.com/30hours/blah2.git
synced 2024-11-08 12:25:42 +00:00
.. | ||
html | ||
docker-compose.yml | ||
nginx.conf | ||
README.md |
blah2 Host
A reverse proxy to host blah2 on the internet.
Description
This can be used to forward the radar to the internet. The radar front-end is at localhost:49152
, and the API is located at localhost:3000/api/<data>
. This reverse proxy forwards localhost:49152
to a port of your choosing, and forwards localhost:3000
to the same port at /api/
.
Usage
docker-compose.yml
- Change the output port from
8080
as desired indocker-compose.yml
. - The environment variable
VIRTUAL_HOST=domain.tld
is only applicable if also using jwilder/nginx. - If using jwilder/nginx, ensure both containers are on the same network with
sudo docker network create <name>
. Otherwise the network configuration can be deleted.
nginx.conf
- Edit the
backend_ip
anddomain_name
variables innginx.conf
.