How to change nginx log rotation period

Looking at web.template.yml there’s no hooks after logrotate’s configuration

Is the custom commands section of my app.yml a suitable location to put this until there’s a hook I can use ?

## Remember, this is YAML syntax - you can only have one block with a name
run:
  - exec: echo "Beginning of custom commands"