mirror of
				https://github.com/NginxProxyManager/nginx-proxy-manager.git
				synced 2025-10-31 15:53:33 +00:00 
			
		
		
		
	Add SSL and HTTP2 into IPv6 on listen.conf
I can only server contents with IPv6 because I'm sitting behind CGN on IPv4. When enabling HTTP2 it still not serve contents with HTTP2 as there are missing arguments in the `listen`. But it still does the SSL encryption. Previous to this commit it generates: ``` listen 80; listen [::]:80; listen 443 ssl http2; listen [::]:443; ``` Now it generates: ``` listen 80; listen [::]:80; listen 443 ssl http2; listen [::]:443 ssl http2; ```
This commit is contained in:
		| @@ -7,7 +7,7 @@ | ||||
| {% if certificate -%} | ||||
|   listen 443 ssl{% if http2_support %} http2{% endif %}; | ||||
| {% if ipv6 -%} | ||||
|   listen [::]:443; | ||||
|   listen [::]:443 ssl{% if http2_support %} http2{% endif %}; | ||||
| {% else -%} | ||||
|   #listen [::]:443; | ||||
| {% endif %} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user