trying to deploy a reverse proxy server, using the above configuration file, I can open https://localhost:1234, and its running with the certificate of trojan.crt, but the content of www.google.com is not displayed on the webpage, and the webpage is blank of.
4. Error messages and/or full log output:
2020/07/22 08:57:58.623 INFO using provided configuration {"config_file": "/etc/caddy/Caddyfile", "config_adapter": ""}
2020/07/22 08:57:58.627 INFO admin admin endpoint started {"address": "tcp/localhost:2019", "enforce_origin": false, "origins": ["localhost:2019", "[::1]:2019", "127.0.0.1:2019"]}
2020/07/22 08:57:58.638 INFO http enabling automatic HTTP->HTTPS redirects {"server_name": "srv0"}
2020/07/22 08:57:58.639 INFO http server is listening only on the HTTP port, so no automatic HTTPS will be applied to this server {"server_name": "srv1", "http_port": 80}
2020/07/22 08:57:58.640 INFO tls setting internal issuer for automation policy that has only internal subjects but no issuer configured {"subjects": ["localhost"]}
2020/07/22 08:57:58.641 WARN http user server is listening on same interface as automatic HTTP->HTTPS redirects; user-configured routes might override these redirects {"server_name": "srv1", "interface": "tcp/:80"}
2020/07/22 08:57:58.641 INFO tls cleaned up storage units
2020/07/22 04:57:58 [INFO][cache:0xc0007dacc0] Started certificate maintenance routine
2020/07/22 08:57:58.688 INFO pki.ca.local root certificate is already trusted by system {"path": "storage:pki/authorities/local/root.crt"}
2020/07/22 08:57:58.688 INFO http enabling automatic TLS certificate management {"domains": ["localhost"]}
2020/07/22 04:57:58 [WARNING] Stapling OCSP: no OCSP stapling for [localhost]: no OCSP server specified in certificate
2020/07/22 08:57:58.689 INFO autosaved config {"file": "/root/.config/caddy/autosave.json"}
2020/07/22 08:57:58.690 INFO serving initial configuration
5. What I already tried:
replaced the webpage of reverse proxy-dont work,the same problem