This image filter the access to the API v2 or higher on a ROOMZ server on-premise.
The following content is the docker-compose.yml giving you a basic configuration to run the image.
version: '3'
services:
proxy:
image: "roomz/api-proxy"
restart: always
ports:
- "80:80"
- "443:443"
volumes:
- ./server.conf:/etc/nginx/server.conf:ro
- ./cert.crt:/etc/nginx/cert.crt
- ./cert.key:/etc/nginx/cert.key
- ./cert.pass:/etc/keys/cert.pass
The files cert.crt and cert.key should be encoded to PEM and the file cert.pass should contain the password of the certificate.
Create a file server.conf changing the variable resolver and the $proxy_to for your environment. resolver is your DNS server of the network zone where the proxy is (i.e. WAN, LAN, DMZ) and the $proxy_to is the address of your ROOMZ server in your LAN.
server_name <target-server-name>;
resolver <your-dns-server>;
Content type
Image
Digest
Size
8.4 MB
Last updated
about 8 years ago
docker pull roomz/api-proxy