What about simply running your Mojo app under the same user or a user with the same user group as used for nginx? Otherwise, what about using Perl's "umask" builtin in your app start script to set the appropriate value and probably reset it after the app started?
-- You received this message because you are subscribed to the Google Groups "Mojolicious" group. To unsubscribe from this group and stop receiving emails from it, send an email to mojolicious+unsubscr...@googlegroups.com. To post to this group, send email to mojolicious@googlegroups.com. Visit this group at https://groups.google.com/group/mojolicious. To view this discussion on the web visit https://groups.google.com/d/msgid/mojolicious/d9577fd9-e39d-4edb-95f5-bd9b10c77339%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.