Q: what is the possible cause and how to fix it?
My env: nginx/0.7.65, perl v5.10.1 with fastcgi-wrapper
Site sitting is done, with license id filled. After testing, some functions are ok.
But "add new server" always returns "504 Gateway Time-out". After adding and remove codes in index.cgi, it seems that it's the below code in function "AdminServerSave" that cause the time out, the "api.cgi" in the same dir is callable with post data.
my $res = $ses->api($f->{srv_cgi_url}, {op => 'test', fs_key=>$fs_key,site_cgi=>$c->{site_cgi}} );