# Restrict admin access

**URL:** https://forum.pritunl.com/t/restrict-admin-access/423
**Category:** Pritunl
**Created:** [September 30, 2022, 2:34pm UTC](https://forum.pritunl.com/t/restrict-admin-access/423 "2022-09-30T14:34:50Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![zach](https://forum.pritunl.com/user_avatar/forum.pritunl.com/zach/32/1105_2.png) [@zach](https://forum.pritunl.com/u/zach)
#### Post date: [October 1, 2022, 2:05am UTC](https://forum.pritunl.com/t/restrict-admin-access/423/2 "2022-10-01T02:05:15Z")

</div>

Currently there is only one web server and one web console. A split web server is under development to allow running the administrator web console from a different port then the web console used for single sign-on.

You can use Nginx to restrict access to different paths. The configuration below should work for single sign-on.

```auto
location ~ /
location ~ ^\/sso\/[a-z0-9\/]+$
location ~ ^\/k\/[a-z0-9\/]+$
location ~ ^\/ku\/[a-z0-9\/]+$
location ~ ^\/key\/[a-z0-9\/]+$

```

---

_[View the full topic](https://forum.pritunl.com/t/restrict-admin-access/423)._
