I set USE_PROXY = True
and restarted indico-celery.service and uwsgi.service. I guess, these are the relevant services when changing this config.
Nothing changed. Would it help if you could take a look at the site?
This is my config:
# General settings
SQLALCHEMY_DATABASE_URI = 'postgresql:///indico'
SECRET_KEY = xxxxxxxxxxxxxxxxxxxx
BASE_URL = 'https://indico.wikimedia.de'
CELERY_BROKER = 'redis://127.0.0.1:6379/0'
REDIS_CACHE_URL = 'redis://127.0.0.1:6379/1'
CACHE_BACKEND = 'redis'
DEFAULT_TIMEZONE = 'Europe/Berlin'
DEFAULT_LOCALE = 'en_GB'
ENABLE_ROOMBOOKING = True
CACHE_DIR = '/opt/indico/cache'
TEMP_DIR = '/opt/indico/tmp'
LOG_DIR = '/opt/indico/log'
STORAGE_BACKENDS = {'default': 'fs:/opt/indico/archive'}
ATTACHMENT_STORAGE = 'default'
USE_PROXY = True
# Email settings
SMTP_SERVER = ('10.0.6.25', 25)
SMTP_USE_TLS = False
SMTP_LOGIN = ''
SMTP_PASSWORD = ''
SUPPORT_EMAIL = 'xxxxxx'
PUBLIC_SUPPORT_EMAIL = 'xxxxxx'
NO_REPLY_EMAIL = 'xxxxxx'
_ldap_config = {
'uri': 'ldap://10.0.6.2',
'bind_dn': 'CN=admin,DC=wikimedia,DC=de',
'bind_password': 'xxxxxxxxxxx',
'starttls': False,
'timeout': 30,
'verify_cert': False,
'page_size': 1500,
'uid': 'uid',
'user_base': 'DC=wikimedia,DC=de',
'user_filter': '(objectClass=univentionPerson)',
'gid': 'cn',
'group_base': 'CN=groups, DC=wikimedia, DC=de',
'group_filter': '(objectClass=univentionGroup)',
'member_of_attr': 'memberOf',
'ad_group_style': True
}
AUTH_PROVIDERS = {
'ldap': {
'type': 'ldap',
'title': 'WMDE',
'ldap': _ldap_config,
'default': True
}
}
IDENTITY_PROVIDERS = {
'ldap': {
'type': 'ldap',
'title': 'WMDE',
'ldap': _ldap_config,
'mapping': {
'first_name': 'givenName',
'last_name': 'sn',
'email': 'mail',
#'affiliation': 'company',
#'phone': 'telephoneNumber'
},
'trusted_email': True,
'default_group_provider': True,
'synced_fields': {'first_name', 'last_name' }
#'synced_fields': {'first_name', 'last_name', 'affiliation', 'phone', 'address'}
}
}
STATIC_FILE_METHOD = ('xaccelredirect', {'/opt/indico': '/.xsf/indico'})