mirror of
https://github.com/TandoorRecipes/recipes.git
synced 2026-01-04 05:39:00 -05:00
improved allowed hosts docs, default config and added a system warning
This commit is contained in:
@@ -82,6 +82,17 @@
|
||||
{% else %}
|
||||
{% trans 'Everything is fine!' %}
|
||||
{% endif %}
|
||||
|
||||
<h4 class="mt-3">{% trans 'Allowed Hosts' %} <span
|
||||
class="badge badge-{% if '*' in allowed_hosts %}warning{% else %}success{% endif %}">{% if '*' in allowed_hosts %}
|
||||
{% trans 'Warning' %}{% else %}{% trans 'Ok' %}{% endif %}</span></h4>
|
||||
{% if debug %}
|
||||
{% blocktrans %}
|
||||
Your allowed hosts are configured to allow every host. This might be ok in some setups but should be avoided. Please see the docs about this.
|
||||
{% endblocktrans %}
|
||||
{% else %}
|
||||
{% trans 'Everything is fine!' %}
|
||||
{% endif %}
|
||||
|
||||
<h4 class="mt-3">{% trans 'Database' %}
|
||||
<span class="badge badge-{{ postgres_status }}">
|
||||
|
||||
Reference in New Issue
Block a user