Hi,
I installed my Seafile Server (6.2.2) under a non-root domain https ://egdomain.com/seafile with the following settings:
ccnet.conf
[General]
USER_NAME = Seafile
ID = XYZ
NAME = Seafile
SERVICE_URL = https://egdomain.com
[Client]
PORT = 13419
[Database]
ENGINE = mysql
HOST = 127.0.0.1
PORT = 3306
USER = USER
PASSWD = PASSWORD
DB = ccnet-db
CONNECTION_CHARSET = utf8
seafile.conf
[fileserver]
port = 8082
max_upload_size=0
[database]
type = mysql
host = 127.0.0.1
port = 3306
user = USERNAME
password = PASSWORD
db_name = DATABASE-NAME
connection_charset = utf8
seahub_settings.py
# -- coding: utf-8 --
SECRET_KEY = “SECRET”
SERVE_STATIC = False
MEDIA_URL = '/media/'
COMPRESS_URL = MEDIA_URL
STATIC_URL = MEDIA_URL + 'assets/'
FILE_SERVER_ROOT = 'https://egdomain.com/seafhttp'
SITE_ROOT = '/seafile/'
LOGIN_URL = '/seafile/accounts/login/'
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.mysql',
'NAME': 'seahub-db',
'USER': 'USER',
'PASSWORD': 'PASSWORD',
'HOST': '127.0.0.1',
'PORT': '3306'
}
}
Seafile is reachable via web-browser and seafile client. But if i open a library via browser directly from the client, the web-browser opens the page like this https://egdomain.com/seafile/seafile and doubles the seafile.
Whats’s wrong?
Thank you for your help in advance.
Regards,
Danny
CACHES = {
'default': {
'BACKEND': 'django_pylibmc.memcached.PyLibMCCache',
'LOCATION': '127.0.0.1:11211',
}
}
ENABLE_TWO_FACTOR_AUTH = True
#ENABLE_RESUMABLE_FILEUPLOAD = True
EMAIL_USE_TLS = True
EMAIL_HOST = 'HOSTNAME'
EMAIL_HOST_USER = 'USERNAME'
EMAIL_HOST_PASSWORD = 'PASSWORD'
EMAIL_PORT = 587
DEFAULT_FROM_EMAIL = EMAIL_HOST_USER
SERVER_EMAIL = EMAIL_HOST_USER