ServerName {{ funkwhale_public_url | urlsplit('hostname') }} ProxyVia On ProxyPreserveHost On RemoteIPHeader X-Forwarded-For AddDefaultCharset off Order Allow,Deny Allow from all LimitRequestBody 104857600 ProxyPass http://127.0.0.1:{{ funkwhale_api_port }}/ ProxyPassReverse http://127.0.0.1:{{ funkwhale_api_port }}/ ProxyPass http://127.0.0.1:{{ funkwhale_api_port }}/federation ProxyPassReverse http://127.0.0.1:{{ funkwhale_api_port }}/federation ProxyPass http://127.0.0.1:{{ funkwhale_api_port }}/api/subsonic/rest ProxyPassReverse http://127.0.0.1:{{ funkwhale_api_port }}/api/subsonic/rest ProxyPass http://127.0.0.1:{{ funkwhale_api_port }}/.well-known/ ProxyPassReverse http://127.0.0.1:{{ funkwhale_api_port }}/.well-known/ ProxyPass "!" Alias /front {{ funkwhale_root_dir }}/front/dist/ ProxyPass "!" Alias /media {{ funkwhale_root_dir }}/data/media/ ProxyPass "!" Alias /staticfiles {{ funkwhale_root_dir }}/data/static ProxyPass ws://127.0.0.1:{{ funkwhale_api_port }}/api/v1/activity Options FollowSymLinks AllowOverride None Require all granted Options FollowSymLinks AllowOverride None Require all granted Options FollowSymLinks AllowOverride None Require all granted LoadModule xsendfile_module modules/mod_xsendfile.so XSendFile On XSendFilePath {{ funkwhale_root_dir }}/data/media XSendFilePath {{ funkwhale_root_dir }}/data/music SetEnv MOD_X_SENDFILE_ENABLED 1