mirror of
				https://github.com/thib8956/nginx-proxy
				synced 2025-11-04 11:09:20 +00:00 
			
		
		
		
	Added support for grpcs protocol
This commit is contained in:
		
				
					committed by
					
						
						GitHub
					
				
			
			
				
	
			
			
			
						parent
						
							67ab97ed64
						
					
				
				
					commit
					a5566f5e8f
				
			@@ -215,6 +215,8 @@
 | 
			
		||||
            {{- end }}
 | 
			
		||||
        {{- else if eq .Proto "grpc" }}
 | 
			
		||||
        grpc_pass {{ trim .Proto }}://{{ trim .Upstream }};
 | 
			
		||||
        {{- else if eq .Proto "grpcs" }}
 | 
			
		||||
        grpc_pass {{ trim .Proto }}://{{ trim .Upstream }};
 | 
			
		||||
        {{- else }}
 | 
			
		||||
        proxy_pass {{ trim .Proto }}://{{ trim .Upstream }}{{ trim .Dest }};
 | 
			
		||||
        set $upstream_keepalive {{ if $keepalive }}true{{ else }}false{{ end }};
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user