因为我需要在容器之外的另一个端口公开webserver端口,所以在访问服务器时不使用standar端口。我将容器内的SSL端口443映射到外部的8888,所以当我编写URL 时,HTTPS工作得很好。400 Bad Request
The plain HTTP request was sent to HTTP
当点击405 Method Not allowed时,后端的活性取决于a-app.com/ap_service响应。我的配置如下所示: bind *:443 default_backend app-api_backendoption httpchk GET /app_service HTTP/1.1 server a a-ap