Apache2 Reverse Proxy with path fail

Hi, i’m trying to configure proxy pass with path /plex. I follow the last update of Apache2 Reverse Proxy for Subdomain and change the location to this:

    <Location /plex/>
        ProxyPass http://${plex_url}:${plex_port}
        ProxyPassReverse http://${plex_url}:${plex_port}
    </Location>
 ## Proxy all websocket requests here ## 
    <Location /plex/:/>
        ProxyPass wss://${plex_url}:${plex_port}/:/
        ProxyPassReverse wss://${plex_url}:${plex_port}/:/
    </Location>

Now if i try http://server/plex redirect to https://serverplex/ if write http://server/plex/ redirect well to https://server/plex/web/index.html but the page is white and the console show :

Refused to apply style from ‘https://server/web/chunk-2-06ead142f8d0e108e5fa-plex-4.51.1-f992ea7.css’ because its MIME type (‘text/html’) is not a supported stylesheet MIME type, and strict MIME checking is enabled.
chunk-4-28303561fc5562fcdd5e-plex-4.51.1-f992ea7.js:1 Failed to load resource: the server responded with a status of 404 (Not Found)
chunk-2-06ead142f8d0e108e5fa-plex-4.51.1-f992ea7.js:1 Failed to load resource: the server responded with a status of 404 (Not Found)
index.html:1 Refused to apply style from ‘https://server/web/chunk-2-06ead142f8d0e108e5fa-plex-4.51.1-f992ea7.css’ because its MIME type (‘text/html’) is not a supported stylesheet MIME type, and strict MIME checking is enabled.

Hmm. Doesn’t appear to be working. That is odd to me. I will do some digging and try and find a solution for you.

Thanks!!! I don’t know so much about apache but tried a lot of things and don’t work any

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.