Back to Nocobase

nb proxy nginx use

docs/docs/en/api/cli/proxy/nginx/use.md

2.1.0596 B
Original Source

nb proxy nginx use

Switch the current driver for the Nginx provider.

Usage

bash
nb proxy nginx use <driver>

Parameters

ParameterTypeDescription
<driver>stringSupports local or docker

Examples

bash
nb proxy nginx use local
nb proxy nginx use docker

Notes

  • This command saves the result to proxy.nginx-driver
  • Later commands such as start, reload, stop, status, and info all use the current driver