Skip to content
Snippets Groups Projects
Commit b3a952c7 authored by Agate's avatar Agate 💬
Browse files

Merge branch 'ngx-custom-config' into 'master'

Add setting for custom nginx config

See merge request !22
parents 61156d14 982e3c51
No related branches found
No related tags found
1 merge request!22Add setting for custom nginx config
Pipeline #12315 passed with stages
in 6 minutes and 58 seconds
......@@ -133,6 +133,7 @@ Role Variables
| `funkwhale_letsencrypt_enabled` | `true` | If `true`, will configure SSL with certbot and Let's Encrypt |
| `funkwhale_media_path` | `/srv/funkwhale/data/media` | Path where audio and uploaded files should be stored (**no trailing slash**) |
| `funkwhale_music_path` | `/srv/funkwhale/data/music` | Path to your existing music library, to use with [CLI import](https://docs.funkwhale.audio/admin/importing-music.html) (**no trailing slash**) |
| `funkwhale_nginx_additional_config` | `""` | Additional nginx configuration to add to the Funkwhale `server{}` block |
| `funkwhale_nginx_managed` | `true` | If `true`, will install and configure nginx |
| `funkwhale_nginx_tls_configure_ciphers` | `true` | Set TLS ciphers, curves, etc, overriding any settings in http{} |
| `funkwhale_nginx_max_body_size` | `100M` | Value of nginx's `max_body_size` parameter to use |
......
......@@ -31,6 +31,7 @@ funkwhale_nginx_tls_termination: true
funkwhale_nginx_tls_configure_ciphers: true
funkwhale_nginx_max_body_size: 100M
funkwhale_nginx_use_compression: true
funkwhale_nginx_additional_config:
funkwhale_ssl_cert_path:
funkwhale_ssl_key_path:
funkwhale_protocol: https
......
......@@ -146,4 +146,5 @@ server {
return 403;
}
{% endif -%}
{{ funkwhale_nginx_additional_config }}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment