mirror of
https://github.com/Mailu/Mailu.git
synced 2025-01-28 03:56:43 +02:00
888: Correct the URL users are directed to after using setup without exposing /admin r=mergify[bot] a=Nebukadneza In setup, users who didn’t expose `/admin` were directed to `http://127.0.0.1:8080/`, which was missing `/ui` to work. Also, let’s help out the less apt admins by providing a copy-paste template for ssh-tunnelling. ## What type of PR? documentation ### Related issue(s) closes #885 ## Prerequistes - [x] In case of feature or enhancement: documentation updated accordingly - [x] Unless it's docs or a minor change: place entry in the [changelog](CHANGELOG.md), under the latest un-released version. 889: Catch webmail-url empty but webmail configured and force to default r=mergify[bot] a=Nebukadneza ## What type of PR? bug-fix ## What does this PR do? Quite some users managed to delete the contents of the webmail-url field in setup, which forces front into a restart loop. Catch the case where a webmail service is configured, but url is empty — and force to default /webmail. ### Related issue(s) closes #856 ## Prerequistes - [x] In case of feature or enhancement: documentation updated accordingly - [x] Unless it's docs or a minor change: place entry in the [changelog](CHANGELOG.md), under the latest un-released version. Co-authored-by: Dario Ernst <dario@kanojo.de>
This commit is contained in:
commit
4d58b322bc
@ -116,7 +116,11 @@ WEBROOT_REDIRECT=/webmail
|
||||
WEB_ADMIN={{ admin_path }}
|
||||
|
||||
# Path to the webmail if enabled
|
||||
{% if webmail_type != 'none' and webmail_path == '' %}
|
||||
WEB_WEBMAIL=/
|
||||
{% else %}
|
||||
WEB_WEBMAIL={{ webmail_path }}
|
||||
{% endif %}
|
||||
|
||||
# Website name
|
||||
SITENAME={{ site_name }}
|
||||
|
@ -44,8 +44,13 @@ Before you can use Mailu, you must create the primary administrator user account
|
||||
one of the hostnames
|
||||
<a href="https://{{ hostnames.split(',')[0] }}{{ admin_path }}">{{ hostnames.split(',')[0] }}{{ admin_path }}</a>.
|
||||
{% 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 <user>@<server>
|
||||
</code></pre>
|
||||
And access the above URL from your local machine.
|
||||
<br />
|
||||
{% endif %}
|
||||
And choose the "Update password" option in the left menu.
|
||||
Also, choose the "Update password" option in the left menu.
|
||||
</p>
|
||||
{% endcall %}
|
||||
|
@ -50,11 +50,16 @@ Before you can use Mailu, you must create the primary administrator user account
|
||||
|
||||
<p>Login to the admin interface to change the password for a safe one, at
|
||||
{% if admin_enabled %}
|
||||
one of the hostnames
|
||||
one of the hostnames
|
||||
<a href="https://{{ hostnames.split(',')[0] }}{{ admin_path }}">{{ hostnames.split(',')[0] }}{{ admin_path }}</a>.
|
||||
{% 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 <user>@<server>
|
||||
</code></pre>
|
||||
And access the above URL from your local machine.
|
||||
<br />
|
||||
{% endif %}
|
||||
And choose the "Update password" option in the left menu.
|
||||
Also, choose the "Update password" option in the left menu.
|
||||
</p>
|
||||
{% endcall %}
|
||||
|
Loading…
x
Reference in New Issue
Block a user