The option to define per-template additional Nginx directives already exists though, at System Settings → Server Templates → Default settings → Website for domain.
Yes, I can edit it in there, but now we’re back to the original question:
In the Nginx Plugin config, there’s a field for Additional Nginx directives for new virtual hosts but it doesn’t seem like it’s template specific. It’s a general setting for all templates. Ideally, I’d like to be able to specify per template.
So that “Additional Nginx directives for new virtual hosts” field will apply to all new domains, but the setting in the template on “Plugin options” will apply to only domains created from that template.
@Jamie, it isn’t there either. And, please let’s not make a new super-confusing section for this. We need to inject it into “Website for domain” to be consistent with Apache systems.
To be clear, the “Plugin options” section API is great, and can be useful but definitely not for Nginx.
That’s odd. I have it installed and still don’t see it in the templates. Can you show a screenshot of what you’re seeing? Do you have it working on Debian and Ubuntu systems too?