Location for custom gitignores?

Running gitea with docker and want to create custom gitignore files.
Where is the correct location to place them?
I have

gitea
    conf
    indexers
    log
    queues

Hello! For this you can refer to the documentation :slightly_smiling_face:

Yes, and also in the documentation it says

Customization files described here should be placed in /data/gitea directory.

So, do I place the gitignore-file in /data/gitea or do I put it in /data/gitea/custom/options/gitignore?

It should be the latter.

Ok, thanks, will test it tomorrow.