Apache + config.deploymentInfo.userRegion

I recently moved to apache and now I am not able to select the regional bridge for the user.
I modified app.bundle.min.js and added the “deploymentInfo” variable

here is my apache config

<VirtualHost *:80>
    ServerName {{ .Env.SERVER_NAME }}
    Redirect permanent / {{ .Env.PUBLIC_URL }}
    RewriteEngine On
    RewriteCond %{HTTPS} off
    RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]

<VirtualHost *:443>

    ServerName jitsi-meet.mydomain.com

    SSLProtocol TLSv1 TLSv1.1 TLSv1.2
    SSLEngine on
    SSLProxyEngine on
    SSLCertificateFile /config/keys/cert.crt
    SSLCertificateKeyFile /config/keys/cert.key
    SSLHonorCipherOrder on
    Header set Strict-Transport-Security "max-age=31536000"

    DocumentRoot "/usr/share/jitsi-meet"
    <Directory "/usr/share/jitsi-meet">
        Options Indexes MultiViews Includes FollowSymLinks
        AddOutputFilter Includes html
        AllowOverride All
        Order allow,deny
        Allow from all

    <Directory "/config">
        Require all granted

    ErrorDocument 404 /static/404.html

    Alias "/config.js" "/config/config.js"
    <Location /config.js>
        Require all granted

    Alias "/external_api.js" "/usr/share/jitsi-meet/libs/external_api.min.js"
    <Location /external_api.js>
        Require all granted

    Alias "/interface_config.js" "/config/interface_config.js"
    <Location /external_api.js>
        Require all granted

    <Location /Shibboleth.sso>
        SetHandler shib

    <Location /login>
        AuthType shibboleth
        ShibRequestSetting requireSession true
        ShibRequestSetting redirectToSSL 443
        ShibUseHeaders On
        Require valid-user
        Sethandler shib
        ProxyPass http://jicofo:8888/login
        ProxyPassReverse http://jicofo:8888/login
        Require valid-user

    ProxyPreserveHost on
    ProxyPass /http-bind http://{{ .Env.XMPP_SERVER }}:5280/http-bind/
    ProxyPassReverse /http-bind http://{{ .Env.XMPP_SERVER }}:5280/http-bind
ProxyPassReverse /http-bind http://{{ .Env.XMPP_SERVER }}:5280/http-bind

    RewriteEngine on
    RewriteRule ^/([a-zA-Z0-9]+)$ /index.html

Previously it was working when I had nginx, here is my old nginx config

server_name _;

client_max_body_size 0;

root /usr/share/jitsi-meet;

# ssi on with javascript for multidomain variables in config.js
ssi on;
ssi_types application/x-javascript application/javascript;

index index.html index.htm;
error_page 404 /static/404.html;

location = /config.js {
    alias /config/config.js;

location = /interface_config.js {
    alias /config/interface_config.js;

location = /external_api.js {
    alias /usr/share/jitsi-meet/libs/external_api.min.js;

# ensure all static content can always be found first
location ~ ^/(libs|css|static|images|fonts|lang|sounds|connection_optimization|.well-known)/(.*)$
    add_header 'Access-Control-Allow-Origin' '*';
    alias /usr/share/jitsi-meet/$1/$2;

location = /http-bind {
    proxy_pass {{ .Env.XMPP_BOSH_URL_BASE }}/http-bind;
    proxy_set_header X-Forwarded-For $remote_addr;
    proxy_set_header Host {{ .Env.XMPP_DOMAIN }};

location ~ ^/([^/?&:'"]+)$ {
    try_files $uri @root_path;

location @root_path {
    rewrite ^/(.*)$ / break;

# Etherpad-lite
location /etherpad/ {
    proxy_http_version 1.1;
    proxy_set_header Upgrade $http_upgrade;
    proxy_set_header Connection 'upgrade';
    proxy_set_header Host $host;
    proxy_cache_bypass $http_upgrade;

    proxy_pass {{ .Env.ETHERPAD_URL_BASE }}/;
    proxy_set_header X-Forwarded-For $remote_addr;
    proxy_buffering off;
    proxy_set_header Host {{ .Env.XMPP_DOMAIN }};
{{ end }}