Hello. You probably have to make those config files and directories yourself and build it in to the deb with a script somewhere.
To set up the basics of all that stuff in the past I’ve used the existing ‘nginx-common’ package as a dependency for my openresty deb, and relied on the Debian nginx config/boot setup as a starting point for that.
Overall though that “fpm” package is super helpful for deb files, and you might see some stuff in my hacky installer script (esp about the docs stuff) that gives you the odd clue. HTH.
Cheers
Igor
trying to compile openresty from source to enable some features that are left out of the mainstream distribution, but I'm having some issues.