Secure /uploads file

Is the proxy via nginx is a sound solution for this? <@211722558385553408>