The gitlab pages I created for testing on my own Gitlab server gives 502 error

I’m creating Gitlab Pages, gitlab runner is running smoothly, everything is working properly, it creates a link on the page page of the project, but when I click, I get a 502 error, how can I solve this problem.

Gitlab Version : 15.8 my gitlab web page : https://gitlab.local My Gitlab Page External : http://localdoc.local.com.tr/

Project link : http://user.name.localdoc.local.com.tr/pages - When I click on it, it gives me error 502.

tail -1 /var/log/gitlab/gitlab-pages/current {“content_type”:“text/html; charset=utf-8”,“correlation_id”:“01GR1F17EYFVW1WW1P7QGVJDJN”,“duration_ms”:0,“host”:“http://user.name.localdoc.local.com.tr/pages",“level”:“info”,“method”:“GET”,“msg”:“access”,“pages_https”:false,“proto”:“HTTP/1.0”,“referrer”:“http://user.name.localdoc.local.com.tr/pages”,“remote_addr”:“x.x.x.x”,“remote_ip”:“x.x.x.x”,“status”:502,“system”:“http”,“time”:“2023-01-30T16:49:28+03:00”,“ttfb_ms”:0,“uri”:“/favicon.ico”,“user_agent”:"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36”,“written_bytes”:2905}

Thankyou for support.