Setup & Configuration
/$$ /$$ /$$ /$$
|__/ | $$ |__/ | $$
/$$ /$$$$$$$ /$$$$$$ | $$$$$$$ /$$ /$$$$$$
| $$| $$__ $$ |____ $$| $$__ $$| $$|_ $$_/
| $$| $$ \ $$ /$$$$$$$| $$ \ $$| $$ | $$
| $$| $$ | $$ /$$__ $$| $$ | $$| $$ | $$ /$$
| $$| $$ | $$| $$$$$$$| $$$$$$$/| $$ | $$$$//$$
|__/|__/ |__/ \_______/|_______/ |__/ \___/ |__/Production-ready CLI for configuring and running the Inabit Remote Approver with Docker and nginx.
Current version: v0.1.3
What you get
Guided setup wizard (validates token, configures URL/ports, generates nginx.conf)
Automatic nginx and Docker Compose configuration
HTTPS support with auto-detected certificates (PEM or CRT/KEY)
Health checks and smart troubleshooting
One-command cleanup and uninstall
Install (production)
Clone the release repository on your remote instance and run the installer:
After installation, the global command inabit is available.
Quick start
Setup flow (overview)
Notes:
During setup, HTTP 403 from curl can be normal if Cloudflare blocks non-browser requests; browsers should work.
The wizard treats 403/502/503 as acceptable during early startup while the approver initializes.
Nginx in production (what the wizard configures)
Domain
Port 80 (HTTP):
server { listen 80; }that proxies toapprover:${APPROVER_PORT}Port 443 (HTTPS):
listen 80;redirects HTTP to HTTPSlisten 443 ssl; http2 on;uses detected cert/key under/etc/nginx/ssl/
Docker Compose ports exposed automatically:
80:80and443:443
IP + Port
Single
server { listen <custom>; }with proxy toapprover:${APPROVER_PORT}Compose port exposed automatically:
<custom>:<custom>
Supported certificate pairs to place in local ssl/:
cert.pem+key.pemcert.crt+key.keyserver.crt+server.keydomain.crt+domain.key
Project structure (for reference)
Prerequisites
Docker
Docker Compose
Bash shell
Troubleshooting
Use the CLI to inspect status, logs, and perform restarts or cleanup:
License
This project is part of the Inabit Remote Approver service.
Was this helpful?