Skip to content
This repository was archived by the owner on Oct 7, 2025. It is now read-only.
3 changes: 3 additions & 0 deletions roles/debian/nginx/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,9 @@ nginx:
php_fastcgi_backend: "127.0.0.1:90{{ php.version[-1] | replace('.', '') }}" # for unix socket use "unix:/var/run/php{{ php.version[-1] | replace('.','') }}-fpm.sock"
ratelimitingcrawlers: false
client_max_body_size: "700M"
ssl_ciphers: [] # Defaults to empty list, you can add ciphers if needed
# - ECDHE-RSA-AES256-GCM-SHA384
# - ECDHE-RSA-CHACHA20-POLY1305
# drupal_fallback: []
# Default location behavior for nginx
# If no custom location behavior is defined, this will be used:
Expand Down
4 changes: 3 additions & 1 deletion roles/debian/nginx/templates/nginx.conf.j2
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,9 @@ http {

ssl_protocols {{ nginx.http.ssl_protocols }}; # Dropping SSLv3, ref: POODLE
ssl_prefer_server_ciphers on;

{% if nginx.ssl_ciphers is defined and nginx.ssl_ciphers|length > 0 %}
ssl_ciphers {{ nginx.ssl_ciphers | join(':') }};
{% endif %}
##
# Logging Settings
##
Expand Down