By not loading, I mean it displays nothing on the page, completely white. I am attempting to output the phpinfo script to show all the PHP details.
I turned on debug and this is what is see in the logs:
2021/11/15 01:55:28.167 error http.log.access.log0 handled request {"request": {"remote_addr": "127.0.0.1:62895", "proto": "HTTP/1.1", "method": "GET", "host": "localhost:3020", "uri": "/favicon.ico", "headers": {"User-Agent": ["Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:94.0) Gecko/20100101 Firefox/94.0"], "Accept": ["image/avif,image/webp,*/*"], "Sec-Fetch-Site": ["same-origin"], "Sec-Fetch-Mode": ["no-cors"], "Accept-Language": ["en-US,en;q=0.5"], "Accept-Encoding": ["gzip, deflate"], "Connection": ["keep-alive"], "Referer": ["http://localhost:3020/"], "Cookie": ["reg-portal-cid=s%3A2IbwI-gwDETkFfrOWGT_EMEZe5MxnyzB.4uEZmjszqzS8VDNqIwrlUX%2B%2B3GOKXNh2oLVeEPk%2BckE"], "Sec-Fetch-Dest": ["image"]}}, "common_log": "127.0.0.1 - - [14/Nov/2021:19:55:28 -0600] \"GET /favicon.ico HTTP/1.1\" 499 0", "user_id": "", "duration": 0.0022448, "size": 0, "status": 499, "resp_headers": {"Server": ["Caddy"]}}
2021/11/15 05:52:15.649 error http.log.access.log0 handled request {"request": {"remote_addr": "127.0.0.1:63692", "proto": "HTTP/1.1", "method": "GET", "host": "localhost:3020", "uri": "/", "headers": {"Accept-Language": ["en-US,en;q=0.5"], "Accept-Encoding": ["gzip, deflate"], "Connection": ["keep-alive"], "Cookie": ["reg-portal-cid=s%3A2IbwI-gwDETkFfrOWGT_EMEZe5MxnyzB.4uEZmjszqzS8VDNqIwrlUX%2B%2B3GOKXNh2oLVeEPk%2BckE"], "Sec-Fetch-Mode": ["navigate"], "User-Agent": ["Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:94.0) Gecko/20100101 Firefox/94.0"], "Accept": ["text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8"], "Sec-Fetch-Dest": ["document"], "Sec-Fetch-Site": ["none"], "Sec-Fetch-User": ["?1"], "Upgrade-Insecure-Requests": ["1"]}}, "common_log": "127.0.0.1 - - [14/Nov/2021:23:52:15 -0600] \"GET / HTTP/1.1\" 499 0", "user_id": "", "duration": 33.3361145, "size": 0, "status": 499, "resp_headers": {"Server": ["Caddy"]}}
2021/11/15 05:52:58.877 info http.log.access.log0 handled request {"request": {"remote_addr": "127.0.0.1:63699", "proto": "HTTP/1.1", "method": "GET", "host": "localhost:3020", "uri": "/", "headers": {"User-Agent": ["Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:94.0) Gecko/20100101 Firefox/94.0"], "Accept-Language": ["en-US,en;q=0.5"], "Cookie": ["reg-portal-cid=s%3A2IbwI-gwDETkFfrOWGT_EMEZe5MxnyzB.4uEZmjszqzS8VDNqIwrlUX%2B%2B3GOKXNh2oLVeEPk%2BckE"], "Sec-Fetch-Site": ["none"], "Sec-Fetch-User": ["?1"], "Accept": ["text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8"], "Accept-Encoding": ["gzip, deflate"], "Connection": ["keep-alive"], "Upgrade-Insecure-Requests": ["1"], "Sec-Fetch-Dest": ["document"], "Sec-Fetch-Mode": ["navigate"]}}, "common_log": "127.0.0.1 - - [14/Nov/2021:23:52:58 -0600] \"GET / HTTP/1.1\" 200 21", "user_id": "", "duration": 0.316219, "size": 21, "status": 200, "resp_headers": {"Server": ["Caddy"], "X-Powered-By": ["PHP/8.0.12"], "Content-Type": ["text/html; charset=UTF-8"]}}
2021/11/15 05:52:59.005 error http.log.access.log0 handled request {"request": {"remote_addr": "127.0.0.1:63699", "proto": "HTTP/1.1", "method": "GET", "host": "localhost:3020", "uri": "/favicon.ico", "headers": {"Referer": ["http://localhost:3020/"], "Sec-Fetch-Dest": ["image"], "Sec-Fetch-Mode": ["no-cors"], "Accept-Language": ["en-US,en;q=0.5"], "Connection": ["keep-alive"], "Accept": ["image/avif,image/webp,*/*"], "Accept-Encoding": ["gzip, deflate"], "Cookie": ["reg-portal-cid=s%3A2IbwI-gwDETkFfrOWGT_EMEZe5MxnyzB.4uEZmjszqzS8VDNqIwrlUX%2B%2B3GOKXNh2oLVeEPk%2BckE"], "Sec-Fetch-Site": ["same-origin"], "User-Agent": ["Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:94.0) Gecko/20100101 Firefox/94.0"]}}, "common_log": "127.0.0.1 - - [14/Nov/2021:23:52:59 -0600] \"GET /favicon.ico HTTP/1.1\" 499 0", "user_id": "", "duration": 0.0026902, "size": 0, "status": 499, "resp_headers": {"Server": ["Caddy"]}}
2021/11/15 05:55:10.437 info http.log.access.log0 handled request {"request": {"remote_addr": "[::1]:63726", "proto": "HTTP/1.1", "method": "GET", "host": "localhost:3020", "uri": "/", "headers": {"User-Agent": ["curl/7.55.1"], "Accept": ["*/*"]}}, "common_log": "::1 - - [14/Nov/2021:23:55:10 -0600] \"GET / HTTP/1.1\" 200 21", "user_id": "", "duration": 0.3085603, "size": 21, "status": 200, "resp_headers": {"Content-Type": ["text/html; charset=UTF-8"], "Server": ["Caddy"], "X-Powered-By": ["PHP/8.0.12"]}}
And then the results of curl -v http://localhost:3020
Rebuilt URL to: http://localhost:3020/
* Trying ::1...
* TCP_NODELAY set
* Connected to localhost (::1) port 3020 (#0)
> GET / HTTP/1.1
> Host: localhost:3020
> User-Agent: curl/7.55.1
> Accept: */*
>
< HTTP/1.1 200 OK
< Content-Type: text/html; charset=UTF-8
< Server: Caddy
< X-Powered-By: PHP/8.0.12
< Date: Mon, 15 Nov 2021 05:55:10 GMT
< Content-Length: 21
<
<? echo phpinfo(); ?>* Connection #0 to host localhost left intact