question

OriGilgun-3483 avatar image
0 Votes"
OriGilgun-3483 asked ryanchill commented

AppServiceHTTPLogs: SPort value is always 80

Hello,

I enabled AppserviceHTTPLogs on some of my app services and sent them to Log Analytics Workspace. Some of the app services have HTTPS forced and some not but they are always called with HTTPS anyway.

Looking into the HTTP logs in Log Analytics I can see that the SPort value (Server port number according to docs) always have the value of 80 and not 443 as I would expect.

Any idea why and does it mean something is wrong in my configuration?

Kind regards,
Ori.


azure-webapps
· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @OriGilgun-3483, I wasn't able to repo your issue (see image down below). When you run az webapp show --name yourappservice --resource-group youresourcegroup is sslState set to true under hostNameSslStates?

91413-image.png


0 Votes 0 ·
image.png (100.5 KiB)

Hi @ryanchill
When I run that command I see that SslStates are disabled:

However I do not use any bindings. I just force HTTPS and TLS 1.2.

0 Votes 0 ·

0 Answers