So far, the NGINX configuration has to be modified individually for each page. To automate this, it would be a good thing if you could create your own templates and use them via the panel.
2020-05-25 -
Activity
Newest / Oldest
Dennis
Status changed to:
Live
Dennis
Additional info from Giorgos:
"I think it would be useful if you could save your own nginx.conf templates and then be able to apply each template to a site.
Usages cases for this would be for example a statamic install with full static page cache where you have to change the location / section or some WordPress caching plugins like wp-rocket with similar demands.
Api endpoints for applying this templates would be great also"
If it were up to me I would separate the administration of the templates and the configuration in the pages. On server level the templates should be created and generally managed. On the page level you can select them and if necessary you can adjust them additionally. I would solve the problem of root paths etc. by using placeholders.
Hoping you're still active here, quick question, wouldn't it be nicer to have this on 'account level' so you can select the template for each site on each server when creating the site?
Really nice feature! Few things to improve, the template ID is not visible in the ploi panel, also the template is not testable, or editable, so when you make a mistake you need to make a complete new template, but cannot see the original in the panel.
Activity Newest / Oldest
Dennis
Status changed to: Live
Dennis
Additional info from Giorgos:
"I think it would be useful if you could save your own nginx.conf templates and then be able to apply each template to a site.
Usages cases for this would be for example a statamic install with full static page cache where you have to change the location / section or some WordPress caching plugins like wp-rocket with similar demands.
Api endpoints for applying this templates would be great also"
Cristian O. Balan
That would be interesting. We would need a variablee to use in place of the domain name.
Dennis
Hi André,
Could you give me an example UI wise how you'd like to see this?
André Heeke
If it were up to me I would separate the administration of the templates and the configuration in the pages. On server level the templates should be created and generally managed. On the page level you can select them and if necessary you can adjust them additionally. I would solve the problem of root paths etc. by using placeholders.
Dennis
Andre,
Hoping you're still active here, quick question, wouldn't it be nicer to have this on 'account level' so you can select the template for each site on each server when creating the site?
Armando Meeuwenoord
Dennis,
Really nice feature! Few things to improve, the template ID is not visible in the ploi panel, also the template is not testable, or editable, so when you make a mistake you need to make a complete new template, but cannot see the original in the panel.
Dennis
Yes, I agree, we're going to improve!