PandoraNext、Email Routing
- Linux learning
- 2023-12-12
- 45热度
- 0评论
PandoraNext
项目地址:https://github.com/pandora-next/deploy
介绍页:https://zhile.io/2023/12/09/pandoranext-introduction.html
systemd:[Service]块中需定义:
Environment="HOME=/PATH/pandoranext"
Type=simple
Nginx
charset utf-8;
location / {
proxy_http_version 1.1;
proxy_pass http://127.0.0.1:8181/;
proxy_set_header Connection "";
proxy_set_header Host $http_host;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_buffering off;
proxy_cache off;
send_timeout 600;
proxy_connect_timeout 600;
proxy_send_timeout 600;
proxy_read_timeout 600;
}
listen 443 ssl http2;
Email Routing
先任意自定义一个前缀,然后到路由规则中手动添加Catch_ALL规则,再删除之前自定义的单一规则即可。