cancel
Showing results for 
Search instead for 
Did you mean: 

How to using F5 to balance WebApi which is with CORS

KMeng
Nimbostratus
Nimbostratus

 

I have already get WebApi service (.net core) published and working, enabled CORS with it. Now, after try to load balance with F5, the device cannot traffic server port. I can see the W3C log record from the F5 ip address ,but response is 0 0 0 0. I try to add F5 address to appsettings.json like : http://10.10.0.252, but still not work.

w3c log below:

2021-12-08 00:00:22 10.10.50.23 GET / - 8088 - 10.10.0.252 - - 0 0 0 0 2021-12-08 00:00:27 10.10.50.23 GET / - 8088 - 10.10.0.252 - - 0 0 0 0 2021-12-08 00:00:32 10.10.50.23 GET / - 8088 - 10.10.0.252 - - 0 0 0 0 2021-12-08 00:00:37 10.10.50.23 GET / - 8088 - 10.10.0.252 - - 0 0 0 0 2021-12-08 00:00:42 10.10.50.23 GET / - 8088 - 10.10.0.252 - - 0 0 0 0

There is using domain list to enable :

"{Origins": [ "https://example.domain.com","http://10.10.0.252"] }

 

0 REPLIES 0