FS#59345 - [nginx] include additional virtual host config files

Attached to Project: Arch Linux
Opened by Damjan Georgievski (damjan) - Sunday, 15 July 2018, 17:52 GMT
Last edited by Bartłomiej Piotrowski (Barthalion) - Wednesday, 22 August 2018, 12:52 GMT
Task Type Feature Request
Category Packages: Extra
Status Closed
Assigned To Bartłomiej Piotrowski (Barthalion)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

This is a suggestion to add a /etc/nginx/sites/ directory to the package and a single »include sites/*.conf;« config statement in http {} in nginx.conf

The include statement would only include .conf files, so one could rename those files from .conf to .conf.off and vice-versa to enable/disable virtual sites.

This would make it easier for users to never touch the packaged nginx.conf but freely add different sites
This task depends upon

Closed by  Bartłomiej Piotrowski (Barthalion)
Wednesday, 22 August 2018, 12:52 GMT
Reason for closing:  Won't implement
Comment by Bartłomiej Piotrowski (Barthalion) - Wednesday, 22 August 2018, 12:51 GMT
Default configuration is there only to make it easier to check that package is functional. Any customization like this should be done by user.

Loading...