mirror of
https://github.com/geerlingguy/ansible-role-nginx.git
synced 2024-11-07 09:20:08 +01:00
Add error_log
This commit is contained in:
parent
1f99c72698
commit
3de8c915a0
@ -12,6 +12,9 @@ server {
|
|||||||
{% if vhost.access_log is defined %}
|
{% if vhost.access_log is defined %}
|
||||||
access_log {{ vhost.access_log }};
|
access_log {{ vhost.access_log }};
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
{% if vhost.error_log is defined %}
|
||||||
|
error_log {{ vhost.error_log }} error;
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
{% if vhost.return is defined %}
|
{% if vhost.return is defined %}
|
||||||
return {{ vhost.return }};
|
return {{ vhost.return }};
|
||||||
|
Loading…
Reference in New Issue
Block a user