Disable Registration on gogs 0.11 with Docker


#1

Hello I’m new with Gogs, and I’ve deploy a gogs instance with Docker. I’de like to block the users registration. I’ve try by creating the file app.ini in /app/gogs/custom/conf and write this inside but it has no effect :
"[service]
DISABLE_REGISTRATION = true"

Thank you for your help
Nicolas


#2

Seems like the wrong location. Mine is located in the container at /data/gogs/conf/app.ini


#3

Thanks it solve my problems.