2023/02/24 14:36:45 [error] 1467#1467: *1180 upstream prematurely closed connection while reading response header from upstream, client: 87.122.231.239, server: digioso.tk, request: "GET /test.pl HTTP/2.0", upstream: "https://10.0.0.113:8443/test.pl", host: "digioso.tk"
####
#!/usr/bin/perl -w
use strict;
use CGI;
use CGI::Carp qw(fatalsToBrowser warningsToBrowser);
use lib "/home/digioso/web/digioso.tk/stuff";
use Navi;
Navi::print_navi();
print "test";
Navi::end_navi();
####
#!/usr/bin/perl -w
use strict;
use CGI;
use CGI::Carp qw(fatalsToBrowser warningsToBrowser);
my $cgi = new CGI;
binmode STDOUT, ":utf8";
print $cgi->header (-type => 'text/html', -charset => 'UTF-8');
print "test2";
print $cgi->end_html;
####
#!/usr/bin/perl -w
use strict;
use warnings;
use CGI;
use CGI::Carp qw(fatalsToBrowser warningsToBrowser);
package Navi;
my $cgi = new CGI;
binmode STDOUT, ":utf8";
sub print_navi
{
print $cgi->header (-type => 'text/html', -charset => 'UTF-8');
}
sub end_navi()
{
print $cgi->end_html;
}