seafile with directadmin

MisterM

Verified User
Joined
Jul 31, 2022
Messages
347
Hello to all
I installed without any difficulty seafile under DA.
By simply following this tutorial:
https://techviewleo.com/how-to-configure-seafile-server-on-debian/
Is for the Apache configuration :
Is to generate the apache2 configuration by using it for several subdomains:
<VirtualHost |IP|:|PORT_443| |MULTI_IP|>
ServerName sharefile.|DOMAIN|
ServerAdmin |ADMIN|
DocumentRoot /var/www/html

Alias /media /srv/seafile/seahub/media

AllowEncodedSlashes On

RewriteEngine On

<Location /media>
Require all granted
</Location>

SSLEngine on
SSLCertificateFile |CERT|
SSLCertificateKeyFile |KEY|
|CAROOT|

#
# seafile fileserver
#
ProxyPass /seafhttp http://127.0.0.1:8082
ProxyPassReverse /seafhttp http://127.0.0.1:8082
RewriteRule ^/seafhttp - [QSA,L]

#
# seahub
#
SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1
ProxyPreserveHost On
ProxyPass / http://127.0.0.1:8000/
ProxyPassReverse / http://127.0.0.1:8000/

CustomLog /var/log/httpd/domains/|DOMAIN|.bytes bytes
CustomLog /var/log/httpd/domains/|DOMAIN|.log combined
ErrorLog /var/log/httpd/domains/|DOMAIN|.error.log
 
Quelle est votre demande ? What is your question ?
Seems there are really translation issues. If you put a "this" bevore you start with "is", then its clear. Something is it. But if you start with "is", then its unclear if we should add an "is it" in mind, which it makes a question.
therefore, your headerline "seafile is directadmin" is unclear.
 
Quelle est votre demande ? What is your question ?
Seems there are really translation issues. If you put a "this" bevore you start with "is", then its clear. Something is it. But if you start with "is", then its unclear if we should add an "is it" in mind, which it makes an question.
with it is "avec" in French I think
 
A small update

You can adapt the seafile integration to a subdomain or a complete domain via :
Admin => Server Manager => Custom HTTPD Configurations
Choose the domain so you have to update the code
Conf. Files => httpd.conf => Customize
Alias /media /srv/seafile/seahub/media
AllowEncodedSlashes On
RewriteEngine On
<Location /media>
Require all granted
</Location>
#
# seafile fileserver
#
ProxyPass /seafhttp http://127.0.0.1:8082
ProxyPassReverse /seafhttp http://127.0.0.1:8082
RewriteRule ^/seafhttp - [QSA,L]
#
# seahub
#
SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1
ProxyPreserveHost On
ProxyPass / http://127.0.0.1:8000/
ProxyPassReverse / http://127.0.0.1:8000/
Then "save".

Is you will access your cloud file management.

Under Centos 7 link
 
I miss a plugin to add the possibility to give a boost to the customer, if they want a cloud service, this is my OPINION
 
Back
Top