# nginX Single Domain Configure

**URL:** <https://forum.hestiacp.com/t/nginx-single-domain-configure/2765>\
**Category:** Community Support\
**Created:** [February 13, 2021, 8:02am UTC](https://forum.hestiacp.com/t/nginx-single-domain-configure/2765 "2021-02-13T08:02:41Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Surjo](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/surjo/32/843_2.png) [@Surjo](https://forum.hestiacp.com/u/Surjo)\
**Post date:** [February 13, 2021, 8:02am UTC](https://forum.hestiacp.com/t/nginx-single-domain-configure/2765/1 "2021-02-13T08:02:41Z")

</div>

Hello, please help me, i want edit nginx default for my custom php script & WHMCS but i can’t found single domain configure like on vestacp

nano /home/user/conf/web/website1.nginx.conf  
nano /home/user/conf/web/website1.nginx.ssl.conf

nano /home/user/conf/web/website2.nginx.conf  
nano /home/user/conf/web/website2.nginx.ssl.conf

please help me

Thanks

---

<div class="post-metadata">

**Author:** ![Dennis](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/dennis/32/1334_2.png) [@Dennis](https://forum.hestiacp.com/u/Dennis)\
**Post date:** [February 13, 2021, 8:47am UTC](https://forum.hestiacp.com/t/nginx-single-domain-configure/2765/2 "2021-02-13T08:47:50Z")

</div>

Surjo,

you can find the templates in /usr/local/hestia/data/templates/web/nginx

Instead of editing the default template, you can copy the default templates and create 2 new files in the same folder. For example

whmcs.tpl and whmcs.stpl (they are both needed, one is for http and one is for https)

-Dennis

---

<div class="post-metadata">

**Author:** ![eris](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/eris/32/1241_2.png) [@eris](https://forum.hestiacp.com/u/eris)\
**Post date:** [February 13, 2021, 8:56am UTC](https://forum.hestiacp.com/t/nginx-single-domain-configure/2765/3 "2021-02-13T08:56:55Z")

</div>

You should never update any generated config files these will get overwritten during update / upgrade of Hestia

---

<div class="post-metadata">

**Author:** ![Surjo](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/surjo/32/843_2.png) [@Surjo](https://forum.hestiacp.com/u/Surjo)\
**Post date:** [February 14, 2021, 5:37pm UTC](https://forum.hestiacp.com/t/nginx-single-domain-configure/2765/4 "2021-02-14T17:37:02Z")

</div>

Thank you soo much to all

---

<div class="post-metadata">

**Author:** ![system](https://forum.hestiacp.com/uploads/default/original/1X/d9a5b68bf50ced83e880b56452e592b204761b19.png) [@system](https://forum.hestiacp.com/u/system)\
**Post date:** [March 16, 2021, 5:37pm UTC](https://forum.hestiacp.com/t/nginx-single-domain-configure/2765/5 "2021-03-16T17:37:04Z")

</div>

Closed on March 16, 2021, 5:37pm UTC

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