In documentation it says: "The nginx configuration, provided with the base image, can be used by adding an application specific config".
Yeah, nginx ins provided with the base image in the sense that the nginx binary is pre-installed.
In my understanding it seems that all i have to do to add my custom config is:
CLOUDRON related stuff eg WORKDIR
ADD nginx-custom.conf /etc/nginx/sites-enabled/nginx-custom.conf
OTHER CUSTOM STUFF required by my app
This would be enough to change the config for said nginx, yeah, but you still have to run it in your start.sh !
@mehdi, you've say that you "packaged" few apps for cloudron, can you tell us one authored by you? like this one authored by @girish : https://git.cloudron.io/cloudron/wordpress-unmanaged-app/-/tree/master
https://git.cloudron.io/cloudron/openvpn-app was originally done by me, but now it's maintained by the cloudron team
https://git.cloudron.io/mehdi/river/ this one could be interesting for you, as I run multiple services in the same container, including an nginx
https://git.cloudron.io/mehdi/orthanc is also done by me and awaiting review to be on the official store