# Self Hosting Problems - config ignored through ngnix

**URL:** <https://community.penpot.app/t/self-hosting-problems-config-ignored-through-ngnix/10386>\
**Category:** Ask the community\
**Tags:** penpot-selfhosted\
**Created:** [March 5, 2026, 9:23am UTC](https://community.penpot.app/t/self-hosting-problems-config-ignored-through-ngnix/10386 "2026-03-05T09:23:20Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![DichterD](https://avatars.discourse-cdn.com/v4/letter/d/a4c791/32.png) [@DichterD](https://community.penpot.app/u/DichterD)\
**Post date:** [March 5, 2026, 9:23am UTC](https://community.penpot.app/t/self-hosting-problems-config-ignored-through-ngnix/10386/1 "2026-03-05T09:23:20Z")

</div>

It seems i have several Problems selfhosting.

I have a VM running Portainer, NGNIX and Penpot. Since last Updates i have several Problems.

The main problem i adressed in a different post is that OIDC is not working.

Now i discovered that the configuration is handled differently, depending on where im opening the penpot frontend.

the flags:

> x-flags: &penpot-flags  
> PENPOT\_FLAGS: enable-prepl-server enable-smtp enable-login-with-oidc enable-oidc-registration disable-registration disable-login disable-login-with-password enable-secure-session-cookies

when i open penpot directly (IP:9001), the config is working and i only see the OIDC Field.

After ngnix so using an url, redirecting inside ngnix to IP:9001 ignores the flags and shows me the all login fields. do i have to configure something specific in penpot to make it work with ngnix?

im trying to find the problems step by step and eliminate them - maybe that will also solve my OIDC cert problem.

---

<div class="post-metadata">

**Author:** ![DichterD](https://avatars.discourse-cdn.com/v4/letter/d/a4c791/32.png) [@DichterD](https://community.penpot.app/u/DichterD)\
**Post date:** [March 12, 2026, 12:13pm UTC](https://community.penpot.app/t/self-hosting-problems-config-ignored-through-ngnix/10386/2 "2026-03-12T12:13:52Z")

</div>

I dont know what the problem was. i reinstalled everything clean and now its working.
