gostfix is simple go-based mail-manager for postfix with web interface
Alexey Edelev 17b602a869 Reset selection list when page changed | 4 年之前 | |
---|---|---|
auth | 4 年之前 | |
common | 4 年之前 | |
config | 4 年之前 | |
db | 4 年之前 | |
sasl | 4 年之前 | |
scanner | 4 年之前 | |
utils | 4 年之前 | |
web | 4 年之前 | |
.gitignore | 4 年之前 | |
LICENSE | 4 年之前 | |
README.md | 4 年之前 | |
build.sh | 4 年之前 | |
go.mod | 4 年之前 | |
go.sum | 4 年之前 | |
main.go | 4 年之前 | |
views | 4 年之前 |
gostfix is simple go-based mail-manager for postfix with web interface
Supported features:
gostfix only works on Linux-like operating systems
TODO: Will be described later
listen 443 ssl;
server_name mail.example.com;
# Add proxy micro-web services
location / {
proxy_pass http://localhost:65200;
}
# Add web sockets proxy
location ~ ^/m[\d]+/notifierSubscribe$ {
proxy_pass http://localhost:65200;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "Upgrade";
proxy_set_header Host $host;
}
# SSL configuration
ssl_certificate /path/to/cert.pem;
ssl_certificate_key /path/to/privkey.pem;