Help setting up nginx with docker app

I currently have a docker app up and running with the following Dockerfile

FROM maptiler/tileserver-gl
WORKDIR /
COPY ./config.json .
COPY ./tiles ./tiles
ENV PORT "8080"

This works great and I’m able to use this as I want. The issue is I also want to use nginx at the same time to restrict the domains allowed through to this site.

I’m not sure how to do this. Hopefully someone can help me out. Thank you!!

1 Like

Just replying to add that this answer would also be super useful for me. Is there a way to limit CORS access to this via whitelist?