Forgot to include the new endpoint /static

master
Dimitri Huisman 3 years ago
parent edb76f25d8
commit a01df56a9b

@ -47,7 +47,7 @@ Then on your own frontend, point to these local ports. In practice, you only nee
}
}
Because the admin interface is served as ``/admin``, the Webmail as ``/webmail``, the single sign on page as ``/sso`` and webdav as ``/webdav``, you may also want to use a single virtual host and serve other applications (still Nginx):
Because the admin interface is served as ``/admin``, the Webmail as ``/webmail``, the single sign on page as ``/sso``, webdav as ``/webdav`` and the static files endpoint as ``/static``, you may also want to use a single virtual host and serve other applications (still Nginx):
.. code-block:: nginx
@ -73,6 +73,11 @@ Because the admin interface is served as ``/admin``, the Webmail as ``/webmail``
proxy_set_header Host $http_host;
}
location /static {
proxy_pass https://localhost:8443/static;
proxy_set_header Host $http_host;
}
location /main_app {
proxy_pass https://some-host;
}

@ -1,9 +1,10 @@
Improved the SSO page. Warning! The new endpoint /sso is introduced.
This endpoint is now used for handling sign on requests.
You may want to update your reverse proxy to proxy /sso to Mailu (to the front service).
Improved the SSO page. Warning! The new endpoints /sso and /static are introduced.
These endpoints are now used for handling sign on requests and shared static files.
You may want to update your reverse proxy to proxy /sso and /static to Mailu (to the front service).
The example section of using a reverse proxy is updated with this information.
- New SSO page is used for logging in Admin or Webmail.
- Made SSO page available separately. SSO page can now be used without Admin accessible (ADMIN=false).
- Introduced stub /static which is used by all sites for accessing static files.
- Removed the /admin/ prefix to reduce complexity of routing with Mailu. Admin is accessible directly via /admin instead of /admin/ui
Note: Failed logon attempts are logged in the logs of admin. You can watch this
Note: Failed logon attempts are logged in the logs of admin. You can watch this with fail2ban.

Loading…
Cancel
Save