Hestia correct way to add nginx rules

I am using hestia with nginx. I would like to add my own rules. What is the correct way to do this?

Create a new template “NGINX Web Template”?
Or is there a separate connected file somewhere in which I can write my own unique configuration for each site?

This will always work

All Nginx templates look for files named nginx.conf_* so you can place your custom code there.

@eris, this is not mentioned in the docs and could be useful.

For nginx the order of config is really important, so the only proper option is creating your own newly named templates, otherwise when you use the .conf_* option you’ll never be sure at what point this conf is in the vhost options.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.