Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature: TOASTER_WEBMAIL_PROXY=nginx #595

Merged
merged 21 commits into from
Oct 19, 2024
Merged

feature: TOASTER_WEBMAIL_PROXY=nginx #595

merged 21 commits into from
Oct 19, 2024

Conversation

msimerson
Copy link
Owner

@msimerson msimerson commented Oct 17, 2024

  • feat: as an alternative to haproxy, use the installed nginx as the reverse proxy
    • nginx: support TOASTER_WEBMAIL_PROXY=nginx
    • webmail: add https proxy config, for TOASTER_WEBMAIL_PROXY=nginx
    • previously, haproxy sent proxy_protocol v2. Eventually, everything should use Forwarded (RFC 7239), for now we use the lowest common denominator: X-Forwarded-For
  • fix: newsyslog.conf.d files must end with .conf
  • fix(mail_dmarc): install .ini file in correct location
  • data: standardize dirs in /data
    • mt: stage_setup_tls populates /data/etc/tls
    • dovecot: /data/etc/ssl -> /data/etc/tls
    • haproxy: /data/ssl.d -> /data/etc/tls.d
    • webmail: acme document root /data -> /data/htdocs
  • letsencrypt: install acme.sh from ports
  • letsencrypt: updates for etc/tls, add webmail deploy script
  • mua: for testing, find or install curl, fixes dovecot.sh still fails error: provision/dovecot.sh: curl: not found #594
  • mysql: use jail_is_running (noop)
  • roundcube: configure SA user prefs plugin
  • mt: added stage_enable_newsyslog, used in nginx, php, haraka, mongodb, redis, rspamd, spamassassin
  • geoip: switch updater to geoipupdate, fixes geoip.sh fails using maxmind-geolite-mirror while downloading DB's #591

Checklist:

  • docs up-to-date

TOASTER_WEBMAIL_PROXY=haproxy is default, but can be set to nginx
- mt: stage_setup_tls populates /data/etc/tls
- haproxy: /data/ssl.d -> /data/etc/tls.d
- webmail: acme htdocs /data -> /data/htdocs
- webmail: add https proxy config, for TOASTER_WEBMAIL_PROXY=nginx
@msimerson msimerson changed the title Nginx proxy TOASTER_WEBMAIL_PROXY=nginx Oct 17, 2024
@msimerson msimerson changed the title TOASTER_WEBMAIL_PROXY=nginx feature: TOASTER_WEBMAIL_PROXY=nginx Oct 17, 2024
@msimerson msimerson marked this pull request as ready for review October 17, 2024 22:21
@msimerson msimerson merged commit 22fe2b8 into master Oct 19, 2024
6 checks passed
@msimerson msimerson deleted the nginx-proxy branch October 19, 2024 17:38
msimerson added a commit that referenced this pull request Oct 19, 2024
- feat: as an alternative to haproxy, use the installed nginx as the
reverse proxy
  - nginx: support TOASTER_WEBMAIL_PROXY=nginx
  - webmail: add https proxy config, for TOASTER_WEBMAIL_PROXY=nginx
- previously, haproxy sent proxy_protocol v2. Eventually, everything
should use Forwarded (RFC 7239), for now we use the lowest common
denominator: X-Forwarded-For
- fix: newsyslog.conf.d files must end with .conf
- fix(mail_dmarc): install .ini file in correct location
- data: standardize dirs in /data
  - mt: stage_setup_tls populates /data/etc/tls
  - dovecot: /data/etc/ssl -> /data/etc/tls
  - haproxy: /data/ssl.d -> /data/etc/tls.d
  - webmail: acme document root /data -> /data/htdocs
- letsencrypt: install acme.sh from ports
- letsencrypt: updates for etc/tls, add webmail deploy script
- mua: for testing, find or install curl, fixes #594
- mysql: use jail_is_running (noop)
- roundcube: configure SA user prefs plugin
- mt: added stage_enable_newsyslog, used in nginx, php, haraka, mongodb,
redis, rspamd, spamassassin
- geoip: switch updater to geoipupdate, fixes #591 

Checklist:
- [x] docs up-to-date
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant