Correct the URL users are directed to after using setup without exposing /admin

closes #885
master
Dario Ernst 6 years ago
parent d301de7d83
commit 392637e16a

@ -1,5 +1,5 @@
# Hostname passed to Traefik # Hostname passed to Traefik
ADDRESS=setup.mailu.io ADDRESS=test02.usrpro.io
# Current release # Current release
RELEASE=master RELEASE=master

@ -13,4 +13,4 @@ services:
depends_on: depends_on:
- redis - redis
ports: ports:
- 127.0.0.1:8001:80 - 0.0.0.0:80:80

@ -44,8 +44,13 @@ Before you can use Mailu, you must create the primary administrator user account
one of the hostnames one of the hostnames
<a href="https://{{ hostnames.split(',')[0] }}{{ admin_path }}">{{ hostnames.split(',')[0] }}{{ admin_path }}</a>. <a href="https://{{ hostnames.split(',')[0] }}{{ admin_path }}">{{ hostnames.split(',')[0] }}{{ admin_path }}</a>.
{% else %} {% else %}
<a href="http://127.0.0.1:8080">http://127.0.0.1:8080</a> (only directly from the host running docker). <a href="http://127.0.0.1:8080/ui">http://127.0.0.1:8080/ui</a> (only directly from the host running docker).
If you run mailu on a remote server, and wish to access the admin interface via a SSH tunnel, you can create a port-forward from your local machine to your server like
<pre><code>ssh -L 127.0.0.1:8080:127.0.0.1:8080 &lt;user&gt;@&lt;server&gt;
</pre></code>
And access the above URL from your local machine.
<br />
{% endif %} {% endif %}
And choose the "Update password" option in the left menu. Also, choose the "Update password" option in the left menu.
</p> </p>
{% endcall %} {% endcall %}

@ -53,8 +53,13 @@ Before you can use Mailu, you must create the primary administrator user account
one of the hostnames one of the hostnames
<a href="https://{{ hostnames.split(',')[0] }}{{ admin_path }}">{{ hostnames.split(',')[0] }}{{ admin_path }}</a>. <a href="https://{{ hostnames.split(',')[0] }}{{ admin_path }}">{{ hostnames.split(',')[0] }}{{ admin_path }}</a>.
{% else %} {% else %}
<a href="http://127.0.0.1:8080">http://127.0.0.1:8080</a> (only directly from the host running docker). <a href="http://127.0.0.1:8080/ui">http://127.0.0.1:8080/ui</a> (only directly from the host running docker).
If you run mailu on a remote server, and wish to access the admin interface via a SSH tunnel, you can create a port-forward from your local machine to your server like
<pre><code>ssh -L 127.0.0.1:8080:127.0.0.1:8080 &lt;user&gt;@&lt;server&gt;
</pre></code>
And access the above URL from your local machine.
<br />
{% endif %} {% endif %}
And choose the "Update password" option in the left menu. Also, choose the "Update password" option in the left menu.
</p> </p>
{% endcall %} {% endcall %}

Loading…
Cancel
Save