mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2025-01-12 04:23:24 +02:00
[Nginx] Fix site when ALLOW_ADMIN_EMAIL_LOGIN=y and reverse proxy is used, fixes #2489
This commit is contained in:
parent
82f7cab259
commit
bb12ce9edc
@ -34,6 +34,7 @@ server {
|
||||
|
||||
client_max_body_size 0;
|
||||
|
||||
listen 127.0.0.1:65580;
|
||||
include /etc/nginx/conf.d/listen_plain.active;
|
||||
include /etc/nginx/conf.d/listen_ssl.active;
|
||||
include /etc/nginx/conf.d/server_name.active;
|
||||
@ -149,7 +150,7 @@ server {
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header Host $http_host;
|
||||
proxy_set_header Content-Length "";
|
||||
proxy_pass http://127.0.0.1:80/sogo-auth;
|
||||
proxy_pass http://127.0.0.1:65580/sogo-auth;
|
||||
proxy_pass_request_body off;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user