ansible-collection-nextcloud-admin icon indicating copy to clipboard operation
ansible-collection-nextcloud-admin copied to clipboard

Adding support for nginx log file configuration

Open N07070 opened this issue 9 months ago • 1 comments

How to use GitHub
  • Please use the 👍 reaction to show that you are interested into the same feature.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.
---

Feature proposal

Hello !

I would like to be able to configure the filenames ( and / or ) locations of the Nginx logs file for my Nextcloud servers.

I am proposing to open a pull request and add this feature to this collection, in the install_nextcloud role.

Would it be of interest ?

I would be pushing the modifications of my own local fork.

Cheers,

N07070 avatar Feb 26 '25 21:02 N07070

Hello @N07070 Thank you for proposing your help. The case of people having very specific needs regarding their setup and context has been considered. However i thought that it could be cunter-productive/intuitive to add too much variables for every nginx and apache configs possible. Therefore a more open approach was chosen : you can use your own web server config template to match exactly your target config, then set nextcloud_websrv_template to have the role use yours instead of the built-in one. Do you think this can answer your use case ?

Regards.

aalaesar avatar Feb 27 '25 11:02 aalaesar