HEX
Server: Apache
System: Linux server.inglory.de 5.15.0-139-generic #149~20.04.1-Ubuntu SMP Wed Apr 16 08:29:56 UTC 2025 x86_64
User: inglory.de_9f9idjkoa1i (10000)
PHP: 8.3.30
Disabled: opcache_get_status
Upload Files
File: /var/www/vhosts/inglory.de/seafile/conf/seahub_settings.py
import os

FILE_SERVER_ROOT = 'https://inglory.de/seafhttp'
SERVICE_URL = 'https://inglory.de/seafile'
SERVE_STATIC = False
LOG_DIR = '/var/www/vhosts/inglory.de/logs/'
CACHE_DIR = '/var/www/vhosts/inglory.de/seafile/seafile-data/tmpfiles/'
CACHES = {
    'default': {
        'BACKEND': 'django.core.cache.backends.filebased.FileBasedCache',
        'LOCATION': os.path.join(CACHE_DIR, 'seahub_cache'),
        'OPTIONS': {
            'MAX_ENTRIES': 1000000
        }
    }
}

DATABASES = {
    'default': {
        'ENGINE': 'django.db.backends.mysql',
        'NAME': 'seahub_cd34004c',
        'USER': 'seafile_cd34004c',
        'PASSWORD': 'b5hmsp0dhtpcb8z58b80vp2',
        'HOST': '127.0.0.1',
        'PORT': '3306'
    }
}

MEDIA_URL = '/seafmedia/'
COMPRESS_URL = MEDIA_URL
STATIC_URL = MEDIA_URL + 'assets/'
SITE_ROOT = '/seafile/'
LOGIN_URL = '/seafile/accounts/login/'
ENABLE_SETTINGS_VIA_WEB = False

EMAIL_USE_TLS = False
EMAIL_HOST = 'localhost'
EMAIL_HOST_USER = ''
EMAIL_HOST_PASSWORD = ''
EMAIL_PORT = 25
SERVER_EMAIL = EMAIL_HOST_USER
DEFAULT_FROM_EMAIL = EMAIL_HOST_USER
# Replace default from email with user's email or not, defaults to ``False``
REPLACE_FROM_EMAIL = True
# Set reply-to header to user's email or not, defaults to ``False``. For details,
# please refer to http://www.w3.org/Protocols/rfc822/
ADD_REPLY_TO_HEADER = True
CSRF_TRUSTED_ORIGINS = ['inglory.de']