Issue with nginx and workhorse

Hello,
I have gitlab on docker and nginx on second container.
And changed hostname for gitlab but sometimes it is working on new hostname sometimes it’s redirect to old hostname.
I am using workhorse.

Can somebody help me with this redirection?
Maybe there is some workhorse cache or else?

Best regards,
Zbigniew