Include files from /app/public/ folder

Site.conf is not allowing me to include conf outside the folder and the app public folder, include /app/public/… what am I missing? I can only include files in the includes folder.

I want to so my plugin can talk to the nginx conf.

server {
...
.....
include /path/to/my/site/root/my-nginx.conf;
....
......
}

Are you seeing an error?

Because site.conf.hbs is a handlebars template, I think you should be able to use {{root}} to expand to the site’s public folder.

Still getting the general 502 and nothing in the routers log.

include {{root}}/my-nginx.conf;

Not sure if we get to public or app folder but tried all.

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