Skip to content
Snippets Groups Projects
Commit 44cf074a authored by ynerant's avatar ynerant Committed by ynerant
Browse files

[nginx] Add feature to add additional params to a nginx server


Signed-off-by: ynerant's avatarYohann D'ANELLO <ynerant@crans.org>
parent 19beb342
No related branches found
No related tags found
1 merge request!165Nginx
......@@ -19,6 +19,7 @@ glob_nginx:
locations:
- filter: "/"
params: []
additional_params: []
upstreams: []
auth_passwd: []
......
......@@ -92,6 +92,12 @@ server {
{% if server.access_log is defined %}access_log {{ server.access_log }};{% endif %}
{% if server.error_log is defined %}error_log {{ server.error_log }};{% endif %}
{% if server.additional_params is defined %}
{% for param in server.additional_params %}
{{ param }};
{% endfor %}
{% endif %}
{% if server.locations is defined %}
{% for location in server.locations %}
location {{ location.filter }} {
......
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