I can't approve the script behind the reverse proxy

Hello) My Jenkins Version 2.420.
I have configured a reverse proxy in front of it, everything works well except that I cannot approve the script in the pipeline. For some reason, when I click on the approve button, the request goes to a direct address without proxy.
Jenkins internal url is http://10.0.20.22:8080/. Some users use internal address and some proxy external address (https)


How i can approve script when i use reverse proxy?