omni icon indicating copy to clipboard operation
omni copied to clipboard

[bug] doc for Nginx self-hosted incorrect

Open Rjvs opened this issue 1 year ago • 0 comments

Is there an existing issue for this?

  • [X] 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

Rjvs avatar Aug 21 '24 09:08 Rjvs