Skip to content

Commit

Permalink
frontend_nginx: fix deprecated ssl argument
Browse files Browse the repository at this point in the history
"ssl on;" was deprecated and eventually removed from nginx.
  • Loading branch information
dmsimard committed Oct 20, 2024
1 parent a6f3c33 commit ed9eb47
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions roles/ara_frontend_nginx/templates/ara-api-ssl.conf.j2
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ server {
}

server {
listen 443;
listen 443 ssl;
server_name {{ ara_api_fqdn }};
{% if ara_api_external_auth -%}
auth_basic "Privileged access";
Expand All @@ -25,7 +25,6 @@ server {
access_log /var/log/nginx/{{ ara_api_fqdn }}_access.log;
error_log /var/log/nginx/{{ ara_api_fqdn }}_error.log;

ssl on;
ssl_certificate {{ ara_api_frontend_ssl_cert }};
ssl_certificate_key {{ ara_api_frontend_ssl_key }};
ssl_session_cache shared:SSL:10m;
Expand Down

0 comments on commit ed9eb47

Please sign in to comment.