Skip to main content
Version: v1.8

hydra serve all

hydra serve all#

Serves both public and administrative HTTP/2 APIs

Synopsis#

Starts a process which listens on two ports for public and administrative HTTP/2 API requests.

If you want more granular control (e.g. different TLS settings) over each API group (administrative, public) you can run "serve admin" and "serve public" separately.

This command exposes a variety of controls via environment variables. You can set environments using "export KEY=VALUE" (Linux/macOS) or "set KEY=VALUE" (Windows). On Linux, you can also set environments by prepending key value pairs: "KEY=VALUE KEY2=VALUE2 hydra"

All possible controls are listed below. This command exposes exposes command line flags, which are listed below the controls section.

Configuration#

ORY Hydra can be configured using environment variables as well as a configuration file. For more information on configuration options, open the configuration documentation:

https://github.com/ory/hydra/blob/undefined/docs/docs/reference/configuration.md <<

hydra serve all [flags]

Options#

  -h, --help   help for all

Options inherited from parent commands#

      --config string                                    Config file (default is $HOME/.hydra.yaml)      --dangerous-allow-insecure-redirect-urls strings   DO NOT USE THIS IN PRODUCTION - Disable HTTPS enforcement for the provided redirect URLs      --dangerous-force-http                             DO NOT USE THIS IN PRODUCTION - Disables HTTP/2 over TLS (HTTPS) and serves HTTP instead      --disable-telemetry                                Disable anonymized telemetry reports - for more information please visit https://www.ory.sh/docs/ecosystem/sqa      --skip-tls-verify                                  Foolishly accept TLS certificates signed by unkown certificate authorities      --sqa-opt-out                                      Disable anonymized telemetry reports - for more information please visit https://www.ory.sh/docs/ecosystem/sqa

SEE ALSO#

  • hydra serve - Parent command for starting public and administrative HTTP/2 APIs