分页: 1 / 1

mailcow 反代roundcube

发表于 : 2020-10-26, 11:27
admin
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/;
   
  }
}