Skip to content

Commit

Permalink
feat: nginx listen in http2
Browse files Browse the repository at this point in the history
  • Loading branch information
moroine committed Apr 26, 2024
1 parent cd068f3 commit 3fa4160
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion products/api/env.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[all:vars]
reverse_proxy_version=1.4.5
reverse_proxy_version=1.4.6
fluentd_version=1.4.3
product_name=api
repo=mission-apprentissage/api-apprentissage
Expand Down
2 changes: 1 addition & 1 deletion products/contrat/env.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[all:vars]
reverse_proxy_version=1.4.5
reverse_proxy_version=1.4.6
fluentd_version=1.4.3
product_name=contrat
repo=mission-apprentissage/contrat
Expand Down
2 changes: 1 addition & 1 deletion products/mongodb/env.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[all:vars]
reverse_proxy_version=1.4.5
reverse_proxy_version=1.4.6
fluentd_version=1.4.3
product_name=mongodb
repo=mission-apprentissage/mongodb
Expand Down
2 changes: 1 addition & 1 deletion products/monitoring/env.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[all:vars]
reverse_proxy_version=1.4.5
reverse_proxy_version=1.4.6
fluentd_version=1.4.3
product_name=monitoring
repo=mission-apprentissage/monitoring
Expand Down
2 changes: 1 addition & 1 deletion products/vpn/env.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[all:vars]
reverse_proxy_version=1.4.5
reverse_proxy_version=1.4.6
fluentd_version=1.4.3
product_name=vpn
repo=mission-apprentissage/vpn
Expand Down
1 change: 1 addition & 0 deletions reverse_proxy/files/templates/conf.d/default.conf.template
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ map $request_uri $https_only {

server {
listen ${PORT} default_server;
http2 on;

server_name ${SERVER_NAME};

Expand Down
1 change: 1 addition & 0 deletions reverse_proxy/files/templates/includes/ssl.conf.template
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
listen ${SSL_PORT} ssl;
http2 on;

ssl_session_timeout 4h;
ssl_session_cache shared:MozSSL:100m;
Expand Down

0 comments on commit 3fa4160

Please sign in to comment.