How to enable wsgi (apache, debian 9)

hello I am new seafile server 6.3.4 user and I was readed some recommendations here that is better to use/switch to wsgi but I could not find how to do that related with apache and seafile configurations.
So guys can you help me with that? BTW step by step tutorial would be best for me.

Here is my current config


<VirtualHost *:443>
ServerAdmin admin@censored
ServerName censored
ServerAlias censored
DocumentRoot /var/www/censored/html
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined

Include /etc/letsencrypt/options-ssl-apache.conf
SSLCertificateFile /etc/letsencrypt/live/censored/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/censored/privkey.pem

Alias /seafmedia /home/censored/seafile/seafile-server-latest/seahub/media

RewriteEngine On

<Location /seafmedia>
ProxyPass !
Require all granted

# seafile fileserver
ProxyPass /seafhttp
ProxyPassReverse /seafhttp
RewriteRule ^/seafhttp - [QSA,L]

# seahub web interface
SetEnvIf Request_URI . proxy-fcgi-pathinfo=unescape
SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1
ProxyPreserveHost On
ProxyPass /seafile
ProxyPassReverse /seafile
FILE_SERVER_ROOT = ‘censored/seafhttp’
MEDIA_URL = ‘/seafmedia/’
STATIC_URL = MEDIA_URL + ‘assets/’
SITE_ROOT = ‘/seafile/’
LOGIN_URL = ‘/seafile/accounts/login/’
‘default’: {
‘ENGINE’: ‘django.db.backends.mysql’,
‘NAME’: ‘censored’,
‘USER’: ‘censored’,
‘PASSWORD’: ‘censored’,
‘HOST’: ‘’,
‘PORT’: ‘3306’

Loaded apache Modules:
core_module (static)
so_module (static)
watchdog_module (static)
http_module (static)
log_config_module (static)
logio_module (static)
version_module (static)
unixd_module (static)
access_compat_module (shared)
alias_module (shared)
auth_basic_module (shared)
authn_core_module (shared)
authn_file_module (shared)
authz_core_module (shared)
authz_host_module (shared)
authz_user_module (shared)
autoindex_module (shared)
deflate_module (shared)
dir_module (shared)
env_module (shared)
filter_module (shared)
mime_module (shared)
mpm_prefork_module (shared)
negotiation_module (shared)
php7_module (shared)
proxy_module (shared)
proxy_http_module (shared)
reqtimeout_module (shared)
rewrite_module (shared)
setenvif_module (shared)
slotmem_shm_module (shared)
socache_shmcb_module (shared)
ssl_module (shared)
status_module (shared)