115 Révisions (6bf1a178b94bbfe17da0f0073ab4553ada399c01)

Auteur SHA1 Message Date
Florent Daigniere 53a0363b9e Deal with the noisy keepalive messages
We don't particularly care about HTTP... and that's what's noisy.
il y a 4 ans
Florent Daigniere 80a85c27a9 Silent healthchecks in logs il y a 4 ans
Alexander Graf 3141ffe791 removed some whitespace il y a 4 ans
Dimitri Huisman 6b16756d92 Fix acessing antispam via sidebar. il y a 4 ans
Dimitri Huisman 3449b67c86 Process code review remarks PR2023 il y a 4 ans
Dimitri Huisman 503044ef6e Reintroduce ProxyFix. Use two buttons for logging in. il y a 4 ans
Dimitri Huisman fb0f005343 Get rid of complicated prefix logic. Further simplify /static handling and nginx config. il y a 4 ans
Dimitri Huisman da788ddee3 Merge branch 'fix-sso-1929' of github.com:Diman0/Mailu into fix-sso-1929 il y a 4 ans
Dimitri Huisman bdcc183165 Redirect to configured ENV VAR for Admin/Webmail, further simplify nginx config. il y a 4 ans
Dimitri Huisman f1a60aa6ea Remove unneeded auth_request_set il y a 4 ans
Florent Daigniere d3f07a0882 Simplify the handling of /static il y a 4 ans
Dimitri Huisman 48764f0400 Ensure all requests from the page sso go through the page sso. il y a 4 ans
Dimitri Huisman 5232bd38fd Simplify webmail logout. il y a 4 ans
Dimitri Huisman 5d81846c5d Introduce the shared stub /static for providing all static files il y a 4 ans
Dimitri Huisman eb74a72a52 Moved locations to correct area in nginx.conf. il y a 4 ans
Dimitri Huisman aa7380ffba Doh! il y a 4 ans
Dimitri Huisman 44d2448412 Updated SSO logic for webmails. Fixed small bug rate limiting. il y a 4 ans
Dimitri Huisman ed7adf52a6 Merge branch 'master' of github.com:Diman0/Mailu into fix-sso-1929 il y a 4 ans
Dimitri Huisman 913a6304a7 Finishing touches. Introduce /static stub for handling all static files. il y a 4 ans
Diman0 41f5b43b38 Set nginx logging to level info again. il y a 4 ans
Diman0 f4cde61148 Make header translatable. More finishing touches. il y a 4 ans
Diman0 9894b49cbd Merge/Update with changes from master il y a 4 ans
Florent Daigniere 89ea51d570 Implement rate-limits il y a 4 ans
Diman0 bf0aad9820 Merge branch 'master' of github.com:Mailu/Mailu into fix-sso-1929 il y a 4 ans
Alexander Graf 1e8b41f731 Merge remote-tracking branch 'upstream/master' into adminlte3_fixes il y a 4 ans
Alexander Graf b445d9ddd1 set expire headers only for mailu content
also moved robots.txt from config to static folder.
il y a 4 ans
Alexander Graf 698ee4e521 added tiff and webp to list of cached content il y a 4 ans
Florent Daigniere 72ba5ca3f9 fix 1789: ensure that nginx resolves ipv4 addresses il y a 4 ans
Diman0 b148e41d9b Fix nginx config il y a 4 ans
Alexander Graf f4e7ce0990 enabled caching, gzip and robots.txt il y a 4 ans
Diman0 960033525d configure sso in nginx il y a 4 ans
Diman0 8868aec0dc Merge master. Make sso login working for admin. il y a 4 ans
Florent Daigniere 394c2fe22c Document REAL_IP_HEADER and REAL_IP_FROM
Fix a security vulnerability whereby we were not clearing other headers
il y a 4 ans
Florent Daigniere 6bba0cecfc Strip the Forwarded header since nothing is compatible with it yet il y a 4 ans
Florent Daigniere 6704cb869a Switch to 3072bits dhparam (instead of 4096bits)
We aim for 128bits of security here
il y a 4 ans
Florent Daigniere 974bcba5ab Restore LOGIN as tests assume it's there il y a 4 ans
Florent Daigniere 24f9bf1064 format certs for nginx il y a 4 ans
Florent Daigniere 92ec446c20 doh il y a 4 ans
Florent Daigniere f05cc99dc0 Add ECC certs for modern clients il y a 4 ans
Florent Daigniere 5e7d5adf17 AUTH shouldn't happen on port 25 il y a 4 ans
Florent Daigniere 7285c6bfd9 admin won't understand LOGIN il y a 4 ans
bors[bot] 48f3b1fd49
Merge #1656
1656: Add ability to set no WEBROOT_REDIRECT to Nginx r=mergify[bot] a=DavidFair

## What type of PR?

Enhancement / Documentation

## What does this PR do?

From commit:

---

Adds a 'none' env option to WEBROOT_REDIRECT so that no `location /`
configuration is written to nginx.conf.

This is useful for setting up Mailu and Mailman where we override the
root to proxy to the mailing list server instead. Without this change
the nginx container will not start, or for 1.7 users can set their
WEBMAIL_PATH to / with no webmail to get the same results.

This fix means that future users don't have to choose between webmail
and a root override and makes the configuration intention clear.

---

I've also added bullet points to break up a long flowing sentence in `configuration.rst` - it should be a bit easier to read now

### Related issue(s)
No Related Issue - I just jumped to a PR

## Prerequistes
Before we can consider review and merge, please make sure the following list is done and checked.
If an entry in not applicable, you can check it or remove it from the list.

- [x] In case of feature or enhancement: documentation updated accordingly

@ Maintainers - Is this worthy of the changelog, it's useful to know about but I imagine the number of people it affects is equally minimal?
- [ ] Unless it's docs or a minor change: add [changelog](https://mailu.io/master/contributors/guide.html#changelog) entry file.


Co-authored-by: David Fairbrother <DavidFair@users.noreply.github.com>
il y a 4 ans
Florent Daigniere dd3d03f06d Merge remote-tracking branch 'upstream/master' into webmail-sso il y a 5 ans
bors[bot] ce0c93a681
Merge #1618
1618: add OCSP stapling to nginx.conf r=mergify[bot] a=lub

It's not added in tls.conf, because apparently the mail ssl module
doesnt' support OCSP stapling.

https://nginx.org/en/docs/http/ngx_http_ssl_module.html#ssl_stapling
^ exists

https://nginx.org/en/docs/mail/ngx_mail_ssl_module.html#ssl_stapling
^ missing

When the configured certificate doesn't have OCSP information, it'll
just log a warning during startup.

## What type of PR?

enhancement

## What does this PR do?

It enables OCSP stapling for the http server. OCSP stapling reduces roundtrips for the client and reduces load on OCSP responders.

### Related issue(s)
- fixes  #1616

## Prerequistes
Before we can consider review and merge, please make sure the following list is done and checked.
If an entry in not applicable, you can check it or remove it from the list.

- [x] Unless it's docs or a minor change: add [changelog](https://mailu.io/master/contributors/guide.html#changelog) entry file.


Co-authored-by: lub <git@lubiland.de>
il y a 5 ans
Dario Ernst b6716f0d74 Remove "CHUNKING" capability from nginx-smtp
With `CHUNKING`set as a capability, nginx advertises this capability to
clients at a stage where the SMTP dialog does not seem to be forwarded
to the proxy-target (postfix) yet. Nginx' SMTP parser itself does not
support the `BDAT` command issued as part of a chunke-d dialog. This makes
Nginx respond with a `250 2.0.0 OK` and close the connection, after the
mail-data got sent by the client — without forwarding this to the
proxy-target.

With this, users mail can be lost.

Furthermore, when a user uses a sieve filter to forward mail, dovecot
sometimes chunks the forwarded mail when sending it through `front`.
These forwards then fail.

Removing `CHUNKING` from the capabilities fixes this behavior.
il y a 5 ans
Florent Daigniere 80f939cf1a Revert to the old behaviour when ADMIN=false il y a 5 ans
Florent Daigniere 906a051925 Make rainloop use internal auth il y a 5 ans
ofthesun9 d32e73c5bc Fix letsencrypt access to certbot for the mail-letsencrypt flavour il y a 5 ans
David Fairbrother e7caff9811 Add ability to set no WEBROOT_REDIRECT to Nginx
Adds a 'none' env option to WEBROOT_REDIRECT so that no `location /`
configuration is written to nginx.conf.

This is useful for setting up Mailu and Mailman where we override the
root to proxy to the mailing list server instead. Without this change
the nginx container will not start, or for 1.7 users can set their
WEBMAIL_PATH to / with no webmail to get the same results.

This fix means that future users don't have to choose between webmail
and a root override and makes the configuration intention clear.
il y a 5 ans
bors[bot] 5c36dc4f54
Merge #1611
1611: Adds own server on port 80 for letsencrypt and redirect r=mergify[bot] a=elektro-wolle

## What type of PR?

Bugfix

## What does this PR do?

Handle letsencrypt route to `.well-known` by own server configuration within nginx.

### Related issue(s)
closes #1564

## Prerequistes
Before we can consider review and merge, please make sure the following list is done and checked.
If an entry in not applicable, you can check it or remove it from the list.

- [x] Unless it's docs or a minor change: add [changelog](https://mailu.io/master/contributors/guide.html#changelog) entry file.


Co-authored-by: Wolfgang Jung <w.jung@polyas.de>
il y a 5 ans