When referencing an uploaded image via webgl from another webapp, browsers deny due to CORS
For an image share app, I feel it's crucial to at least have it configurable to be able to opt for
Access-Control-Allow-Origin "*"
I think, reasonable would be an include statement in the main nginx conf, a dynamic generated nginx-conf snippet file combined with a conditional in start.sh that writes the statement to this snippet file in case a variable is set, probably even evaluate the env value