# Apache2 Reverse Proxy with path fail

**URL:** <https://forums.plex.tv/t/apache2-reverse-proxy-with-path-fail/693275>\
**Category:** General Discussions\
**Created:** [February 21, 2021, 4:36pm UTC](https://forums.plex.tv/t/apache2-reverse-proxy-with-path-fail/693275 "2021-02-21T16:36:56Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ferdinandpc](https://avatars.discourse-cdn.com/v4/letter/f/7ba0ec/32.png) [@ferdinandpc](https://forums.plex.tv/u/ferdinandpc)\
**Post date:** [February 21, 2021, 4:36pm UTC](https://forums.plex.tv/t/apache2-reverse-proxy-with-path-fail/693275/1 "2021-02-21T16:36:56Z")

</div>

Hi, i’m trying to configure proxy pass with path /plex. I follow the last update of [Apache2 Reverse Proxy for Subdomain](https://forums.plex.tv/t/apache2-reverse-proxy-for-subdomain/447162) and change the location to this:

```auto
    <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](http://server/plex) redirect to [https://serverplex/](https://serverplex/) if write [http://server/plex/](http://server/plex/) redirect well to [https://server/plex/web/index.html](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](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](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.

---

<div class="post-metadata">

**Author:** ![jugzadmin](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/jugzadmin/32/145893_2.png) [@jugzadmin](https://forums.plex.tv/u/jugzadmin)\
**Post date:** [February 22, 2021, 8:37pm UTC](https://forums.plex.tv/t/apache2-reverse-proxy-with-path-fail/693275/2 "2021-02-22T20:37:04Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![ferdinandpc](https://avatars.discourse-cdn.com/v4/letter/f/7ba0ec/32.png) [@ferdinandpc](https://forums.plex.tv/u/ferdinandpc)\
**Post date:** [February 22, 2021, 9:14pm UTC](https://forums.plex.tv/t/apache2-reverse-proxy-with-path-fail/693275/3 "2021-02-22T21:14:34Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/plex/original/3X/2/a/2acb9765406f63293d357b4ec509ec39aa28f2ad.png) [@system](https://forums.plex.tv/u/system)\
**Post date:** [May 23, 2021, 9:14pm UTC](https://forums.plex.tv/t/apache2-reverse-proxy-with-path-fail/693275/4 "2021-05-23T21:14:57Z")

</div>

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