[aur-general] package with nginx config file

Khorne khorne at khorne.me
Sun Jul 15 14:50:11 UTC 2018


On Sun, 15 Jul 2018 16:36:24 +0200
Damjan Georgievski via aur-general <aur-general at archlinux.org> 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.
> 
> 
> 

Hi Damjan,

Probably best to put an example config in /etc/nginx/sites/, similar to
how its done for nextcloud[1] for example.

I don't recommend editing the shipped nginx configuration.

Regards,
Khorne

[1]
https://git.archlinux.org/svntogit/community.git/tree/trunk/PKGBUILD?h=packages/nextcloud#n41


More information about the aur-general mailing list