Skip to content

Commit

Permalink
add http2 tests
Browse files Browse the repository at this point in the history
  • Loading branch information
C24-AK committed Nov 9, 2023
1 parent a0adee7 commit b2c7a63
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions spec/defines/resource_server_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -765,6 +765,18 @@
value: 'off',
match: %r{\s+listen\s+\*:443 ssl;}
},
{
title: 'should set HTTP2',
attr: 'http2',
value: 'on',
match: %r{\s+listen\s+\*:443 ssl http2;}
},
{
title: 'should not set HTTP2',
attr: 'http2',
value: 'off',
match: %r{\s+listen\s+\*:443 ssl;}
},
{
title: 'should set the IPv4 listen options',
attr: 'listen_options',
Expand Down

0 comments on commit b2c7a63

Please sign in to comment.