On Sun, 15 Jul 2018 16:36:24 +0200 Damjan Georgievski via aur-general email@example.com wrote:
I'm making a package for a webapp that will include an nginx config file.
What's the convention for these config files, where's the best place to put them?
Ideally, I'd like to see a » include /etc/nginx/sites/*.conf;« at the bottom of the main /etc/nginx/nginx.conf so at least files dropped there would work out-of-the-box.
Probably best to put an example config in /etc/nginx/sites/, similar to how its done for nextcloud for example.
I don't recommend editing the shipped nginx configuration.