Skip to content

Commit

Permalink
Docs: update deprecated NGINX http2 directive (#2338)
Browse files Browse the repository at this point in the history
* update deprecated directive

* update nginx versions in e2e tests
  • Loading branch information
gerardsn authored Jul 13, 2023
1 parent f9f09ad commit 99bb59b
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 5 deletions.
3 changes: 2 additions & 1 deletion docs/pages/deployment/tls-configuration.rst
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,8 @@ For `NGINX <https://www.nginx.com/>`_ the proxy configuration could look as foll
http {
server {
server_name nuts-grpc;
listen 5555 ssl http2;
listen 5555 ssl;
http2 on;
ssl_certificate /etc/nginx/ssl/server.pem;
ssl_certificate_key /etc/nginx/ssl/key.pem;
ssl_client_certificate /etc/nginx/ssl/truststore.pem;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ services:
healthcheck:
interval: 1s # Make test run quicker by checking health status more often
nodeA:
image: nginx:1.23
image: nginx:1.25.1
volumes:
- "./node-A/nginx.conf:/etc/nginx/nginx.conf:ro"
- "../../../tls-certs/nodeA-certificate.pem:/etc/nginx/ssl/server.pem:ro"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ http {

server {
server_name nodeA;
listen 443 ssl http2;
listen 443 ssl;
http2 on;
ssl_certificate /etc/nginx/ssl/server.pem;
ssl_certificate_key /etc/nginx/ssl/key.pem;
ssl_client_certificate /etc/nginx/ssl/truststore.pem;
Expand Down
2 changes: 1 addition & 1 deletion e2e-tests/oauth-flow/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ services:
healthcheck:
interval: 1s # Make test run quicker by checking health status more often
nodeA:
image: nginx:1.18
image: nginx:1.25.1
ports:
- "10443:443"
volumes:
Expand Down
3 changes: 2 additions & 1 deletion e2e-tests/oauth-flow/node-A/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ http {

server {
server_name nodeA;
listen 443 ssl http2;
listen 443 ssl;
http2 on;
ssl_certificate /etc/nginx/ssl/server.pem;
ssl_certificate_key /etc/nginx/ssl/key.pem;
ssl_client_certificate /etc/nginx/ssl/truststore.pem;
Expand Down

0 comments on commit 99bb59b

Please sign in to comment.