D
Deleted member 209767
Guest
- Server operating system version
- Linux
- Plesk version and microupdate number
- Plesk
I run apache/nginx proxy mode and I need to see the original response from apache using :
curl -lv https://www.mydomain.com:7080
I added this to etc/hosts
127.0.0.1 mydomain.com
127.0.0.1 www.mydomain.com
but I always get 404 error
curl -lv https://www.mydomain.com:7080
I added this to etc/hosts
127.0.0.1 mydomain.com
127.0.0.1 www.mydomain.com
but I always get 404 error
[root@ns508279 ~]# curl -lv http://www.mydomain.com:7080/template/test.html
* Trying 127.0.0.1...
* TCP_NODELAY set
* Connected to www.mydomain.com (127.0.0.1) port 7080 (#0)
> GET /template/test.html HTTP/1.1
> Host: www.mydomain.com:7080
> User-Agent: curl/7.61.1
> Accept: */*
>
< HTTP/1.1 404 Not Found
< Date: Sun, 08 May 2022 16:56:29 GMT
< Server: Apache
< Content-Length: 196
< Content-Type: text/html; charset=iso-8859-1
<
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL was not found on this server.</p>
</body></html>