nb proxy nginx
nb proxy nginx is the command-group entry for the Nginx provider.
If you already use Nginx to manage sites, certificates, caching, or access control, this is usually the place to start. It handles two things:
- choosing how Nginx runs, which means
localordocker - generating, starting, reloading, and inspecting the Nginx entrypoint for CLI-managed envs
Usage
Subcommands
Notes
- The current driver is stored in
proxy.nginx-driver - The default driver is
local - The local driver uses the executable pointed to by
bin.nginx, whose default value isnginx - The Docker driver uses
nginx:latest - The default Docker container name is
<docker.container-prefix>-nginx-proxy - The Docker driver mounts host
NB_CLI_ROOTinto the container at/apps

