# Issue with nginx

**URL:** <https://discourse.pi-hole.net/t/issue-with-nginx/79477>\
**Category:** Community Help\
**Created:** [April 28, 2025, 2:15am UTC](https://discourse.pi-hole.net/t/issue-with-nginx/79477 "2025-04-28T02:15:37Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pete1234](https://discourse-cdn.pi-hole.net/letter_avatar_proxy/v4/letter/p/e95f7d/32.png) [@Pete1234](https://discourse.pi-hole.net/u/Pete1234)\
**Post date:** [April 28, 2025, 2:15am UTC](https://discourse.pi-hole.net/t/issue-with-nginx/79477/1 "2025-04-28T02:15:37Z")

</div>

**The issue I am facing:**  
im not sure what the exact issue is but im attempting to set up nginx with my pihole. it seems i need multiple files such as /var/run/pihole-FTL.sock  
**Details about my system:**  
just a regular raspberry pi 4 with 4gb ram  
**What I have changed since installing Pi-hole:**

just did a fresh install

help would greatly be appreciated im currently trying to get into stuff like this and im extremely lost on this i will provide any needed info as quickly as i can

---

<div class="post-metadata">

**Author:** ![Bucking\_Horn](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/bucking_horn/32/18719_2.png) [@Bucking\_Horn](https://discourse.pi-hole.net/u/Bucking_Horn)\
**Post date:** [April 28, 2025, 6:58am UTC](https://discourse.pi-hole.net/t/issue-with-nginx/79477/2 "2025-04-28T06:58:19Z")

</div>

Why do you want to run a full webserver like nginx?

Pi-hole comes with its own embedded webserver (based on civetweb), so setting up a separate webserver is not required.

---

<div class="post-metadata">

**Author:** ![Pete1234](https://discourse-cdn.pi-hole.net/letter_avatar_proxy/v4/letter/p/e95f7d/32.png) [@Pete1234](https://discourse.pi-hole.net/u/Pete1234)\
**Post date:** [April 28, 2025, 4:53pm UTC](https://discourse.pi-hole.net/t/issue-with-nginx/79477/3 "2025-04-28T16:53:51Z")

</div>

i have a couple of other things running on it aswell like jellyfin, so i want to swap the webserver to nginx. and i want to set up a reverse proxy. my understanding of this may not be firm so sorry for any misunderstandings

---

<div class="post-metadata">

**Author:** ![rdwebdesign](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/rdwebdesign/32/51363_2.png) [@rdwebdesign](https://discourse.pi-hole.net/u/rdwebdesign)\
**Post date:** [April 28, 2025, 6:21pm UTC](https://discourse.pi-hole.net/t/issue-with-nginx/79477/4 "2025-04-28T18:21:31Z")

</div>

> [@Pete1234](#):
>
> so i want to swap the webserver to nginx

You can't.

Pi-hole v6 pages need the new web server.  
`nginx` won't be able to execute some of the functions used by the new web interface.

---

<div class="post-metadata">

**Author:** ![Pete1234](https://discourse-cdn.pi-hole.net/letter_avatar_proxy/v4/letter/p/e95f7d/32.png) [@Pete1234](https://discourse.pi-hole.net/u/Pete1234)\
**Post date:** [April 28, 2025, 10:16pm UTC](https://discourse.pi-hole.net/t/issue-with-nginx/79477/5 "2025-04-28T22:16:04Z")

</div>

ok thank you for the clarification and especially the fast response time. can i still have the pihole behind the reverse proxy or is this just not doable

also does pihole still use lighttpd?

---

<div class="post-metadata">

**Author:** ![rdwebdesign](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/rdwebdesign/32/51363_2.png) [@rdwebdesign](https://discourse.pi-hole.net/u/rdwebdesign)\
**Post date:** [April 29, 2025, 10:32pm UTC](https://discourse.pi-hole.net/t/issue-with-nginx/79477/6 "2025-04-29T22:32:22Z")

</div>

> [@Pete1234](#):
>
> also does pihole still use lighttpd?

No.

Pi-hole v6 uses itself (the web server is embedded into `pihole-FTL`).

> [@Pete1234](#):
>
> can i still have the pihole behind the reverse proxy

Yes.

Search for `nginx reverse proxy v6`. These are some examples:

- [What's the right way to "expose" v6 beta via swag (nginx reverse proxy)? - #5 by MadaxDeLuXe](https://discourse.pi-hole.net/t/whats-the-right-way-to-expose-v6-beta-via-swag-nginx-reverse-proxy/70696/5)
- [Can't get v6 webinterface behind nginx reverse proxy to work - #4 by stefan](https://discourse.pi-hole.net/t/cant-get-v6-webinterface-behind-nginx-reverse-proxy-to-work/76231/4)

---

<div class="post-metadata">

**Author:** ![system](https://discourse.pi-hole.net/uploads/default/original/3X/7/c/7c8792f649eeb921c5d2b4c41564ffa873d9a2b8.png) [@system](https://discourse.pi-hole.net/u/system)\
**Post date:** [May 20, 2025, 10:33pm UTC](https://discourse.pi-hole.net/t/issue-with-nginx/79477/7 "2025-05-20T22:33:12Z")

</div>

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