First step to disable FTP in MirrorManager
As discussed in https://github.com/fedora-infra/mirrormanager2/issues/99 This is the first step to remove FTP from MirrorManager. With this change it is no longer possible to enter FTP URLs into MM. Signed-off-by: Adrian Reber <adrian@lisas.de>
This commit is contained in:
parent
adc5e177b6
commit
59c954e8ff
1 changed files with 7 additions and 0 deletions
|
@ -121,6 +121,13 @@ MM_COOKIE_NAME = 'MirrorManager'
|
|||
# decide where to store log files.
|
||||
MM_LOG_DIR = '/var/log/mirrormanager'
|
||||
|
||||
# This is used to exclude certain protocols to be entered
|
||||
# for host category URLs at all.
|
||||
# The following is the default for Fedora to exclude FTP based
|
||||
# mirrors to be added. Removing this confguration option
|
||||
# or setting it to '' removes any protocol restrictions.
|
||||
MM_PROTOCOL_REGEX = '^(?!ftp)(.*)$'
|
||||
|
||||
# If not specified the application will rely on the root_url when sending
|
||||
# emails, otherwise it will use this URL
|
||||
# Default: ``None``.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue