Skip to content

Instantly share code, notes, and snippets.

@yteraoka
Created September 9, 2013 14:57
Show Gist options
  • Save yteraoka/6496758 to your computer and use it in GitHub Desktop.
Save yteraoka/6496758 to your computer and use it in GitHub Desktop.
Ansible のテンプレート(Jinja2)で部分的にテンプレート処理を無効にする ref: http://qiita.com/yteraoka/items/a9b1fd6a5d76817530fe
{% raw %}
LogFormat "\
host:%h\t\
time:%{%Y-%m-%d %H:%M:%S}t\t\
method:%m\t\
uri:%U%q\t\
protocol:%H\t\
status:%>s\t\
referer:%{Referer}i\t\
user-agent:%{User-Agent}i\t\
size:%b\t\
vhost:%v\t\
usec:%D" ltsv
{% endraw %}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment