Changed Structure to reflect actual use
This commit is contained in:
38
nginx/grpc/conf.example
Normal file
38
nginx/grpc/conf.example
Normal file
@@ -0,0 +1,38 @@
|
||||
# Example conf
|
||||
|
||||
|
||||
# Example TLS endpoint
|
||||
server {
|
||||
|
||||
more_clear_headers Server;
|
||||
|
||||
listen PORT ssl;
|
||||
http2 on;
|
||||
|
||||
location / {
|
||||
grpc_pass grpc://127.0.0.1:PORT;
|
||||
}
|
||||
|
||||
|
||||
ssl_certificate /services-keys/Example/cert.pem;
|
||||
ssl_certificate_key /services-keys/Example/key.pem;
|
||||
ssl_protocols TLSv1.1 TLSv1.2 TLSv1.3;
|
||||
|
||||
|
||||
}
|
||||
|
||||
# Example Termination endpoint
|
||||
server {
|
||||
|
||||
more_clear_headers Server;
|
||||
|
||||
listen 127.0.0.1:PORT;
|
||||
http2 on;
|
||||
|
||||
# Here put the service you need
|
||||
location / {
|
||||
grpc_pass grpcs://127.0.0.1:PORT;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user