502 Proxy error - strict-origin-when-cross-origin
Justin Taylor <[email protected]>
| Newsgroups | gmane.comp.systems.as400.web |
|---|---|
| Message-ID | <CAJu8Sp--rp3K28TY4u6U3euQwjntEY68J5f9hhGMd+RJfWo5OA@mail.gmail.com> |
I'm trying to proxy Node-RED running on i behind Apache. The page itself
comes down, but I'm getting this for all the resources required by that
page:
Status Code 502 Proxy error -
Referrer Policy: string-origin-when-cross-origin
I found this IBM doc here, but I don't have any <location> tags.
https://www.ibm.com/support/pages/enabling-cross-origin-resource-sharing-cors-http-apache
I tried adding the access control setting under my <Proxy> with no luck.
Any suggestions?
Here's a snippet of my <Proxy>:
ProxyPass /node-red/ http://127.0.0.1:1880
<Proxy *>
Header set Access-Control-Allow-Origin "*"
<RequireAll>
Require valid-user
<RequireAny>
Require user userName@domain
</RequireAny>
<RequireAny>
Require ip x.y.z.a
</RequireAny>
</RequireAll>
PasswdFile %%SYSTEM%%
UserID %%CLIENT%%
AuthType Kerberos
AuthName ibmi_host.domain
ProfileToken On
Options +IncludesNoExec
SetOutputFilter Includes
</Proxy>
--
This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400) mailing list
To post a message email: [email protected]
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/web400
or email: [email protected]
Before posting, please take a moment to review the archives
at https://archive.midrange.com/web400.