# How I can to add password on admin folder in Nginx?

**URL:** <https://forum.hestiacp.com/t/how-i-can-to-add-password-on-admin-folder-in-nginx/5758>\
**Category:** Community Support\
**Created:** [March 7, 2022, 1:42am UTC](https://forum.hestiacp.com/t/how-i-can-to-add-password-on-admin-folder-in-nginx/5758 "2022-03-07T01:42:13Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![MR.Dev](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/mr.dev/32/2505_2.png) [@MR.Dev](https://forum.hestiacp.com/u/MR.Dev)\
**Post date:** [March 7, 2022, 1:42am UTC](https://forum.hestiacp.com/t/how-i-can-to-add-password-on-admin-folder-in-nginx/5758/1 "2022-03-07T01:42:13Z")

</div>

Hello,

How I can to add username and password for more protection on admin folder in Nginx?  
Please note that there is no folder named admin already but it is being redirected to it.

---

<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:** [March 7, 2022, 7:41am UTC](https://forum.hestiacp.com/t/how-i-can-to-add-password-on-admin-folder-in-nginx/5758/2 "2022-03-07T07:41:07Z")

</div>

Hestia doesn’t have such function build in. You can load custom rules via:

/home/user/conf/web/domain.com/nginx.conf\_xxxxx with custom rules…

---

<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:** [April 6, 2022, 7:41am UTC](https://forum.hestiacp.com/t/how-i-can-to-add-password-on-admin-folder-in-nginx/5758/3 "2022-04-06T07:41:31Z")

</div>

Closed on April 6, 2022, 7:41am UTC

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