Nice Puma! Here are the logs in JSON
HTTPS request
{
"ClientAddr": "172.31.2.251:40965",
"ClientHost": "172.31.2.251",
"ClientPort": "40965",
"ClientUsername": "-",
"DownstreamContentSize": 19,
"DownstreamStatus": 404,
"Duration": 25507,
"GzipRatio": 0,
"OriginContentSize": 0,
"OriginDuration": 0,
"OriginStatus": 0,
"Overhead": 25507,
"RequestAddr": "pay.reactgratis.com",
"RequestContentSize": 0,
"RequestCount": 3,
"RequestHost": "pay.reactgratis.com",
"RequestMethod": "GET",
"RequestPath": "/",
"RequestPort": "-",
"RequestProtocol": "HTTP/2.0",
"RequestScheme": "https",
"RetryAttempts": 0,
"StartLocal": "2024-11-16T18:56:43.787022633Z",
"StartUTC": "2024-11-16T18:56:43.787022633Z",
"TLSCipher": "TLS_CHACHA20_POLY1305_SHA256",
"TLSVersion": "1.3",
"entryPointName": "web",
"level": "info",
"msg": "",
"time": "2024-11-16T18:56:43Z"
}
HTTP request
{
"ClientAddr": "172.31.2.251:37633",
"ClientHost": "172.31.2.251",
"ClientPort": "37633",
"ClientUsername": "-",
"DownstreamContentSize": 61298,
"DownstreamStatus": 200,
"Duration": 69869992,
"OriginContentSize": 61298,
"OriginDuration": 69745600,
"OriginStatus": 200,
"Overhead": 124392,
"RequestAddr": "pay.reactgratis.com",
"RequestContentSize": 0,
"RequestCount": 2,
"RequestHost": "pay.reactgratis.com",
"RequestMethod": "GET",
"RequestPath": "/",
"RequestPort": "-",
"RequestProtocol": "HTTP/1.1",
"RequestScheme": "http",
"RetryAttempts": 0,
"RouterName": "index@http",
"ServiceAddr": "www.debugbear.com",
"ServiceName": "myService@http",
"ServiceURL": "https://www.debugbear.com",
"StartLocal": "2024-11-16T18:56:15.603732031Z",
"StartUTC": "2024-11-16T18:56:15.603732031Z",
"entryPointName": "web",
"level": "info",
"msg": "",
"time": "2024-11-16T18:56:15Z"
}
shouldn't the field "entryPointName" have the value "web-secure" in the first log? If so, why isnt this "web-secure"? Maybe because of my LB? If it's because the LB I dont know what to do really, because I would need the Traefik to handle the TLS certificates because it is a requirement for my usecase. I tried using an Application LB, the problem was that ALB was the one handling the certificates.