Lms behind proxy reverse is working but cms is not?

Version : lilac.2 ,native install
As the title , I try the proxy reverse for lms/cms.
Lms is working but cms is not. It shows “504 gateway time-out”
I use the setting as below:

location / {
proxy_pass http://server ip:18010;

            proxy_set_header        Host                    $http_host;
            proxy_set_header        X-Forwarded-By          $server_addr:$server_port;
            proxy_set_header        X-Forwarded-For         $proxy_add_x_forwarded_for;
            proxy_set_header        X-Forwarded-Proto $http_x_forwarded_proto;
            proxy_set_header        X-Real-IP               $remote_addr;
    }

1 Like