# Reverse proxy for home automation

**URL:** <https://community.learnlinux.tv/t/reverse-proxy-for-home-automation/4325>\
**Category:** Homelab\
**Created:** [December 8, 2024, 11:34am UTC](https://community.learnlinux.tv/t/reverse-proxy-for-home-automation/4325 "2024-12-08T11:34:13Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![kazimierzkrauze](https://community.learnlinux.tv/letter_avatar_proxy/v4/letter/k/898d66/32.png) [@kazimierzkrauze](https://community.learnlinux.tv/u/kazimierzkrauze)\
**Post date:** [December 8, 2024, 11:34am UTC](https://community.learnlinux.tv/t/reverse-proxy-for-home-automation/4325/1 "2024-12-08T11:34:13Z")

</div>

Hi!

I just installed home assistant on a raspberry pi and want to set it behind reverse proxy. So I installed nginx on my fedora server (running in a proxmox vm) and this is the config file:

```auto
server {
    listen 80;
    server_name dom.jeansibelius.net;

    location / {
        proxy_pass http://something.something.something.100:8123/;
    }
}

```

I have set up port forwarding on my router (80 =\> nginx\_server:80, 443 =\> nginx\_server:443).  
Also I have set up subdomain ([dom.jeansibelius.net](http://dom.jeansibelius.net)) to point to my public ip address.

So when I go to [http://dom.jeansibelius.net/](http://dom.jeansibelius.net/) I should see my home assistant, but I do not…  
I only see “Secure site not available” and after accepting I see “connection was reset”.

Nothing in /var/log/nginx/access.log and in /var/log/nginx/error.log.

Can you guys help me?

Kazimierz Krauze

---

<div class="post-metadata">

**Author:** ![Rootbeer](https://community.learnlinux.tv/letter_avatar_proxy/v4/letter/r/aca169/32.png) [@Rootbeer](https://community.learnlinux.tv/u/Rootbeer)\
**Post date:** [January 5, 2025, 3:29am UTC](https://community.learnlinux.tv/t/reverse-proxy-for-home-automation/4325/2 "2025-01-05T03:29:47Z")

</div>

You will need to configure your DNS to point there as well. Not sure what you are using for DNS. Is it safe to assume you are using ISP defaults?

---

<div class="post-metadata">

**Author:** ![kazimierzkrauze](https://community.learnlinux.tv/letter_avatar_proxy/v4/letter/k/898d66/32.png) [@kazimierzkrauze](https://community.learnlinux.tv/u/kazimierzkrauze)\
**Post date:** [January 5, 2025, 7:02am UTC](https://community.learnlinux.tv/t/reverse-proxy-for-home-automation/4325/3 "2025-01-05T07:02:59Z")

</div>

\*.jeansibelius.net points to my public IP, I’m using Cloudflare.

---

<div class="post-metadata">

**Author:** ![Rootbeer](https://community.learnlinux.tv/letter_avatar_proxy/v4/letter/r/aca169/32.png) [@Rootbeer](https://community.learnlinux.tv/u/Rootbeer)\
**Post date:** [May 12, 2025, 3:35pm UTC](https://community.learnlinux.tv/t/reverse-proxy-for-home-automation/4325/4 "2025-05-12T15:35:36Z")

</div>

Does your local DNS have a record for that? What does [dom.jeansibelius.net](http://dom.jeansibelius.net) point to locally? It should point to your NGINX server and nginx will direct from there assuming ports are configured correctly.

---

<div class="post-metadata">

**Author:** ![kazimierzkrauze](https://community.learnlinux.tv/letter_avatar_proxy/v4/letter/k/898d66/32.png) [@kazimierzkrauze](https://community.learnlinux.tv/u/kazimierzkrauze)\
**Post date:** [May 16, 2025, 2:31pm UTC](https://community.learnlinux.tv/t/reverse-proxy-for-home-automation/4325/5 "2025-05-16T14:31:37Z")

</div>

Thank you for your reply, but I’ve given up with a reverse proxy.

---

<div class="post-metadata">

**Author:** ![Mr\_McBride](https://community.learnlinux.tv/letter_avatar_proxy/v4/letter/m/a698b9/32.png) [@Mr\_McBride](https://community.learnlinux.tv/u/Mr_McBride)\
**Post date:** [June 6, 2025, 4:14pm UTC](https://community.learnlinux.tv/t/reverse-proxy-for-home-automation/4325/6 "2025-06-06T16:14:20Z")

</div>

I’ve been using nginx reverse proxy manager in docker with pihole (in docker as well) for several years and it works good for me.

I do not have an internet facing domain, so I use home.arpa as my internal domain. I created a DNS record to point that domain to npm, and, I created DNS records (alias’s really since they all share the same IP) for each application name.

I’m currently hosting 18 containers on a RPI-4 and I’m averaging about 18% CPU utilization and about 2.5gb of RAM (out of 8GB). It’s all for a one-person homelab, but it works great for me.
