mirror of
https://github.com/HanXHX/ansible-nginx.git
synced 2026-02-24 09:03:29 +07:00
New vhost option: manage_local_content
This commit is contained in:
@@ -44,6 +44,7 @@ server {
|
||||
}
|
||||
|
||||
{% block template_local_content %}
|
||||
{% if manage_local_content is defined and not manage_local_content %}
|
||||
location = /favicon.ico {
|
||||
expires 30d;
|
||||
access_log off;
|
||||
@@ -54,6 +55,7 @@ server {
|
||||
expires 30d;
|
||||
log_not_found off;
|
||||
}
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
||||
{% if __location is iterable and __location | length > 0 %}
|
||||
|
||||
Reference in New Issue
Block a user