When I tried to load http://127.0.0.1/ I get a 404 error. I've added vhost, listener of the 80 port, and added the vhost to the listener. I also added context and Web server in the `external app` field. Also, I added a rewrite rule. What I did wrong?
Configuration of vhost:
Configuration of vhost:
Code:
extprocessor backend {
type proxy
address http://127.0.0.1:8070
maxConns 2000
initTimeout 1
retryTimeout 1
respBuffer 0
}
context / {
type proxy
handler backend
addDefaultCharset off
}
rewrite {
enable 1
autoLoadHtaccess 0
logLevel 2
RewriteRule (.*) http://127.0.0.1:8070/$1 [P]
}