Seafile reverse proxy apache

I was able to set up a reverse proxy without any problems by redirecting all requests to seafile as in the official documentation. Can someone please share the config to get a redirect like this http://example.com/seafile/. On the following configuration, I get the error.
My 000-default.conf.

<VirtualHost *:80>
    ServerAdmin webmaster@localhost
    DocumentRoot /var/www/html

    Alias /media  /opt/seafile/seafile-server-latest/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 /seafile http://127.0.0.1:8000/seafile
    ProxyPassReverse /seafile http://127.0.0.1:8000/seafile

</VirtualHost>

My ccnet.conf.

[General]

#SERVICE_URL = http://192.168.1.2:8000/
SERVICE_URL = http://192.168.1.2/
[Database]
ENGINE = mysql
HOST = 127.0.0.1
PORT = 3306
USER = oleg
PASSWD = grubby
DB = ccnet_db
CONNECTION_CHARSET = utf8

My gunicorn.conf.py.

import os

daemon = True
workers = 5

# default localhost:8000
bind = "127.0.0.1:8000"
#bind = "0.0.0.0:8000"

# Pid
pids_dir = '/opt/seafile/pids'
pidfile = os.path.join(pids_dir, 'seahub.pid')

# for file upload, we need a longer timeout value (default is only 30s, too short)
timeout = 1200

limit_request_line = 8190