Skip to content

Commit

Permalink
Adjust config path for Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
medanthelinium committed Nov 16, 2023
1 parent ff04a7e commit 63e7bf1
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion defaults/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,12 @@ varnish:
varnishd
{%- endif -%}
prefix:
config: /usr/local/etc/varnish
config: >-
{%- if ansible_system == 'Linux' -%}
/etc/varnish
{%- else -%}
/usr/local/etc/varnish
{%- endif -%}
bind_addr: "localhost:8080"
#logformat: '%h "%{X-Forwarded-For}i" %u %t "%r" %s %b "%{Referer}i" "%{User-agent}i" "%{Varnish:time_firstbyte}x" %{Varnish:handling}x "%{Content-Type}o" "%{Cookie}i"'
logformat: >
Expand Down

0 comments on commit 63e7bf1

Please sign in to comment.