1
0
mirror of https://github.com/Mailu/Mailu.git synced 2025-08-10 22:31:47 +02:00

feat:support tcp proxy

This commit is contained in:
weijie_wu
2025-08-08 17:25:38 +08:00
parent d615fe4e98
commit 8ada9752cd
2 changed files with 5 additions and 1 deletions

View File

@@ -17,7 +17,7 @@ ARG VERSION
LABEL version=$VERSION
RUN set -euxo pipefail \
; apk add --no-cache certbot nginx nginx-mod-http-brotli nginx-mod-mail openssl dovecot-lua dovecot-pigeonhole-plugin 'dovecot-lmtpd<2.4' dovecot-pop3d dovecot-submissiond
; apk add --no-cache certbot nginx nginx-mod-stream nginx-mod-http-brotli nginx-mod-mail openssl dovecot-lua dovecot-pigeonhole-plugin 'dovecot-lmtpd<2.4' dovecot-pop3d dovecot-submissiond
COPY conf/ /conf/
COPY --from=static /static/ /static/

View File

@@ -10,6 +10,10 @@ events {
worker_connections 1024;
}
stream {
include /etc/nginx/tcp.d/*.conf;
}
http {
# Standard HTTP configuration with slight hardening
include /etc/nginx/mime.types;