Files
zitadel/docs/docs/guides/manage/self-hosted/reverseproxy/_nginx.mdx
T
e15e733cc3 docs(self-hosted): describe production setup (#4645)
* docs(manage): add production checklist

* chore: add tracing to defaults

* fix links

* fix links

* link custom domain page

* Update docs/docs/guides/deploy/overview.mdx

Co-authored-by: Florian Forster <[email protected]>

* Update docs/docs/guides/deploy/overview.mdx

Co-authored-by: Florian Forster <[email protected]>

* Update docs/docs/guides/deploy/overview.mdx

Co-authored-by: Florian Forster <[email protected]>

* Update docs/docs/guides/deploy/overview.mdx

Co-authored-by: Florian Forster <[email protected]>

* Update docs/docs/guides/manage/self-hosted/production.md

Co-authored-by: Florian Forster <[email protected]>

* Update docs/docs/guides/manage/self-hosted/production.md

Co-authored-by: Florian Forster <[email protected]>

* Update docs/docs/guides/manage/self-hosted/production.md

Co-authored-by: Florian Forster <[email protected]>

* Update docs/docs/guides/manage/self-hosted/production.md

Co-authored-by: Florian Forster <[email protected]>

* Update docs/docs/guides/manage/self-hosted/production.md

Co-authored-by: Florian Forster <[email protected]>

* fix typos

* link to metrics page

* link to projections concept

* chore(docs): format docs

* visually add spaces

* use explicit line breaks

* fix italic underscores

* reuse .prettierignore

* cd to docs

* ignore generated .md files

* pin prettier version

* format non docs markdown files

* fix glob file pattern

* fix glob file pattern

* fix glob file pattern

* enforce prose wrap

* fix italic env vars

* use .prettierrc.yaml

* use folder specific configs

* fmt docs and md in other branch

Co-authored-by: Florian Forster <[email protected]>
2022-11-03 11:22:17 +00:00

96 lines
1.4 KiB
Plaintext

## TLS mode external
```bash
worker_processes 1;
events {
worker_connections 1024;
}
http {
server {
listen 443;
ssl_certificate ssl/certificate.pem;
ssl_certificate_key ssl/key.pem;
location / {
grpc_pass grpc://localhost:8080;
grpc_set_header Host $host;
}
}
}
```
:::info
If another port than the default HTTPS port 443 is used replace
` grpc_set_header Host $host;`
with
` grpc_set_header Host $host:$server_port;`
:::
## TLS mode enabled
```bash
worker_processes 1;
events {
worker_connections 1024;
}
http {
server {
listen 443;
ssl_certificate ssl/certificate.pem;
ssl_certificate_key ssl/key.pem;
location / {
grpc_pass grpcs://localhost:8080;
grpc_set_header Host $host;
}
}
}
```
:::info
If another port than the default HTTPS port 443 is used replace
` grpc_set_header Host $host;`
with
` grpc_set_header Host $host:$server_port;`
:::
## TLS mode disabled
```bash
worker_processes 1;
events {
worker_connections 1024;
}
http {
server {
listen 80;
location / {
grpc_pass grpc://localhost:8080;
grpc_set_header Host $host;
}
}
}
```
:::info
If another port than the default HTTP port 80 is used replace
` grpc_set_header Host $host;`
with
` grpc_set_header Host $host:$server_port;`
:::