Skip to content

Commit

Permalink
fix indent(2, True)
Browse files Browse the repository at this point in the history
  • Loading branch information
egeneralov committed Jul 8, 2021
1 parent dc6e7a8 commit 30fe7c4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion templates/gitlab-http.conf.j2
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ server {
if ($remote_addr ~ "{{ ansible_all_ipv4_addresses | join('|') }}|127.0.0.1") { set $fail 0; }
if ($rfc6890) { set $fail 0; }
if ($allowed_ips) { set $fail 0; }
{{- custom_nginx.raw.gitlab_http | nindent 2 }}
{{- custom_nginx.raw.gitlab_http | indent(2, True) }}
if ($fail = 1) { return 403; }

# GitLab needs backwards compatible ciphers to retain compatibility with Java IDEs
Expand Down
2 changes: 1 addition & 1 deletion templates/nginx.conf.j2
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,6 @@ http {
include /etc/nginx/conf.d/gitlab-registry.conf;
include /etc/nginx/conf.d/nginx-status.conf;

{{- custom_nginx.raw.nginx_conf | nindent 2 }}
{{- custom_nginx.raw.nginx_conf | indent(2, True) }}

}

0 comments on commit 30fe7c4

Please sign in to comment.