Quantcast
Channel: Nginx Forum - Nginx Mailing List - English
Viewing all articles
Browse latest Browse all 7229

http2 enable or disable per virtual host (no replies)

$
0
0
Hi the ngx_http_v2_module could not switch enable or disable per virtual host.

The following code, http.domainname.com is enabled http2.

I would like to enable only the http2 of http2.domainname.com.

server {
listen 443 ssl http2;
server_name http2.domainname.com;
ssl_prefer_server_ciphers on;
ssl_ciphers AESGCM:HIGH:!aNULL:!MD5;
ssl on;
ssl_certificate cert.pem;
ssl_certificate_key key.pem;
}

server {
listen 443 ssl;
server_name http.domainname.com;
ssl_prefer_server_ciphers on;
ssl_ciphers AESGCM:HIGH:!aNULL:!MD5;
ssl on;
ssl_certificate cert.pem;
ssl_certificate_key key.pem;
}

Viewing all articles
Browse latest Browse all 7229

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>