H
Homarr11h ago
b_d0n

Reverse proxy issue?

is there a env variable missing for reverse proxy support, on the unraid app x-forwarded-host header with value localip does not match origin header with value homarr.home.com from a forwarded Server Actions request. Aborting the action. does the template support adding a proxy_domain variable? Also to note this is with nginx proxy manager secured with Authentik
7 Replies
Cakey Bot
Cakey Bot11h ago
Thank you for submitting a support request. Depending on the volume of requests, our team should get in contact with you shortly.
⚠️ Please include the following details in your post or we may reject your request without further comment: - Log (See https://homarr.dev/docs/community/faq#how-do-i-open-the-console--log) - Operating system (Unraid, TrueNAS, Ubuntu, ...) - Exact Homarr version (eg. 0.15.0, not latest) - Configuration (eg. docker-compose, screenshot or similar. Use ``your-text`` to format) - Other relevant information (eg. your devices, your browser, ...)
Frequently Asked Questions | Homarr documentation
Can I install Homarr on a Raspberry Pi?
Meierschlumpf
Meierschlumpf11h ago
Okay that's intresting, I think nobody else had that problem with a reverse proxy yet, can you maybe share some more details from your setup? Probably related: https://nextjs.org/docs/app/api-reference/config/next-config-js/serverActions#allowedorigins
next.config.js: serverActions | Next.js
Configure Server Actions behavior in your Next.js application.
b_d0n
b_d0nOP11h ago
What else would you like? My nginx config?
Meierschlumpf
Meierschlumpf11h ago
Yes (I only need the homarr part other services are probably not important)
b_d0n
b_d0nOP10h ago
Pastebin
Increase buffer size for large headers# This is needed only if yo...
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
b_d0n
b_d0nOP10h ago
this is what my npm advanced tab looks like. this setup has always worked until v1.0 fyi here is the exact log entry
`x-forwarded-host` header with value `192.168.1.50:7575` does not match `origin` header with value `homarr.home.com` from a forwarded Server Actions request. Aborting the action.
⨯ [Error: Invalid Server Actions request.] { digest: '4021323368' }
`x-forwarded-host` header with value `192.168.1.50:7575` does not match `origin` header with value `homarr.home.com` from a forwarded Server Actions request. Aborting the action.
⨯ [Error: Invalid Server Actions request.] { digest: '4021323368' }
Meierschlumpf
Meierschlumpf10h ago
Thanks, I'll investigate further tomorrow

Did you find this page helpful?