Merge branch 'master' into refactor-repo

master
kaiyou 7 years ago
commit ac53b3ed97

@ -5,7 +5,7 @@
{% endblock %}
{% block content %}
{% call table() %}
{% call macros.table() %}
<tr>
<th>{% trans %}Service{% endtrans %}</th>
<th>{% trans %}Status{% endtrans %}</th>

@ -12,9 +12,8 @@
<a class="btn btn-primary" href="{{ url_for('.token_create', user_email=user.email) }}">{% trans %}New token{% endtrans %}</a>
{% endblock %}
{% block box %}
<table class="table table-bordered">
<tbody>
{% block content %}
{% call macros.table() %}
<tr>
<th>{% trans %}Actions{% endtrans %}</th>
<th>{% trans %}Comment{% endtrans %}</th>
@ -31,6 +30,5 @@
<td>{{ token.created_at }}</td>
</tr>
{% endfor %}
</tbody>
</table>
{% endcall %}
{% endblock %}

@ -42,7 +42,7 @@ http {
# In any case, enable the proxy for certbot if the flavor is letsencrypt
{% if TLS_FLAVOR == 'letsencrypt' %}
location ^~ /.well-known/acme-challenge/ {
proxy_pass http://localhost:8000;
proxy_pass http://localhost:8008;
}
{% endif %}

@ -12,7 +12,7 @@ command = [
"-m", "{}@{}".format(os.environ["POSTMASTER"], os.environ["DOMAIN"]),
"certonly", "--standalone",
"--cert-name", "mailu",
"--preferred-challenges", "http", "--http-01-port", "8000",
"--preferred-challenges", "http", "--http-01-port", "8008",
"--keep-until-expiring",
"--rsa-key-size", "4096",
"--config-dir", "/certs/letsencrypt",

Loading…
Cancel
Save