How do i use nginx when deploying with docker?

I am trying to host a beginner CTF on CTFd for the first time on a home server with ip proxied through cloudlfare. For some reason cloudflare refuses to connect to 8000 port sometimes. I changed “8000:8000” > “80:8000” in the docker-compose.yml file but it did nothing. moving on i saw nginx was not working and there was no proper documentation to get it working as well. i cant seem to get it working nor i can understand if i need nginx in the first place. can someone help me out/explain if i need one + how do i change the port for the very least.

Is there any discord server where i can get help with CTFd deployment?

Hi there isn’t nginx already provided in the CTFd docker-compose file? Are you getting any error messages or anything?