mailcow 反代roundcube

回复
头像
admin
网站管理员
帖子: 82
注册时间: 2016-12-31, 08:39

mailcow 反代roundcube

帖子 admin » 2020-10-26, 11:27

data/conf/nginx/webmail.conf

代码: 全选

server {
  ssl_certificate /etc/ssl/mail/cert.pem;
  ssl_certificate_key /etc/ssl/mail/key.pem;
  index index.php index.html;
  client_max_body_size 0;
  root /web;
  include /etc/nginx/conf.d/listen_plain.active;
  include /etc/nginx/conf.d/listen_ssl.active;
  server_name mail.example.org;

  location ^~ /.well-known/acme-challenge/ {
    allow all;
    default_type "text/plain";
  }

  location / {
    proxy_pass http://127.0.0.1:8010/webmail/;
   
  }
}

回复

在线用户

正浏览此版面之用户: 没有注册用户 和 1 访客