Skip to content

[bug] doc for Nginx self-hosted incorrect #574

Open
@Rjvs

Description

@Rjvs

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

Includes proxy-pass and grpc-pass in a single entry:

	server {
		listen 0.0.0.0:443 http2 ssl ;
		listen [::0]:443 http2 ssl ;
		server_name $OMNI_DOMAIN ;
		ssl_certificate /var/lib/acme/omni/fullchain.pem;
		ssl_certificate_key /var/lib/acme/omni/key.pem;
		ssl_trusted_certificate /var/lib/acme/omni/chain.pem;
		location / {
			proxy_pass http://127.0.0.1:8080;
			proxy_http_version 1.1;
			proxy_set_header Upgrade $http_upgrade;
			proxy_set_header Connection $connection_upgrade;
			grpc_pass grpc://127.0.0.1:8080;
		}
	}

Expected Behavior

Valid nginx conf

Steps To Reproduce

Read the docs

What browsers are you seeing the problem on?

Firefox, Chrome, Safari

Anything else?

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions