# SSL Reverse Proxy with lighttpd

**URL:** <https://forums.rocket.chat/t/ssl-reverse-proxy-with-lighttpd/3066>\
**Category:** Community Support\
**Created:** [February 2, 2019, 9:10am UTC](https://forums.rocket.chat/t/ssl-reverse-proxy-with-lighttpd/3066 "2019-02-02T09:10:18Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vogelmonster](https://avatars.discourse-cdn.com/v4/letter/v/a5b964/32.png) [@Vogelmonster](https://forums.rocket.chat/u/Vogelmonster)\
**Post date:** [February 2, 2019, 9:10am UTC](https://forums.rocket.chat/t/ssl-reverse-proxy-with-lighttpd/3066/1 "2019-02-02T09:10:18Z")

</div>

Hello,

i installed the rocketchat server and i am amazed! Now i wanted to configure the SSL Reverse Proxy and have some problems. Im using lighttpd.  
In /etc/lighttpd/lighttpd.conf i have written this:

proxy.server = ( “/home” =\>  
( (  
“host” =\> “127.0.0.1”,  
“port” =\> 3000  
) )  
)  
This is not working. In the Browser Tab the name and the logo is apering. But the site ist blank.

When im using this:

proxy.server = ( “/” =\>  
( (  
“host” =\> “127.0.0.1”,  
“port” =\> 3000  
) )  
)  
It works! But all my requests on the domain are redirekted to rocketchat.This is not what i want. I want that “[mydomain.com/home](http://mydomain.com/home)” is only directed to rocketchat.  
Can someone help me?  
And sorry for my bad english…

---

<div class="post-metadata">

**Author:** ![Vogelmonster](https://avatars.discourse-cdn.com/v4/letter/v/a5b964/32.png) [@Vogelmonster](https://forums.rocket.chat/u/Vogelmonster)\
**Post date:** [February 2, 2019, 10:00pm UTC](https://forums.rocket.chat/t/ssl-reverse-proxy-with-lighttpd/3066/2 "2019-02-02T22:00:25Z")

</div>

I have created a subdomain and configured the proxy on it. That worked.  
In /etc/lighttpd/lighttpd.conf i have written this:

$HTTP[“host”] =~ “(^[chat.mydomain.com](http://chat.mydomain.com))” {  
proxy.balance = “fair”  
proxy.server = ( “” =\> (  
( “host” =\> “127.0.0.1”, “port” =\> 3000)  
)  
)  
}
