You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Repository Cloned 2025-01-18
Operating behind AWS Cloudfront with x-forwarded-prefix set to /packeton
.env.local contains TRUSTED_PROXIES=REMOTE_ADDR
I can login no problem via https://cloudfrontdomain/packeton/
Static assets are all loaded correctly, prefixed with /packeton
However the following pages do not respect the additional prefix.
Adding a new SSH Key under the credentials section is successful, but redirects to the root. Developer console shows that the call to https://cloudfrontdomain/packeton/users/sshkey was successful returning a 302, but the location header in the redirect is set to / resulting being thrown out to https://cloudfrontdomain
Description
Repository Cloned 2025-01-18
Operating behind AWS Cloudfront with x-forwarded-prefix set to /packeton
.env.local contains TRUSTED_PROXIES=REMOTE_ADDR
I can login no problem via https://cloudfrontdomain/packeton/
Static assets are all loaded correctly, prefixed with /packeton
However the following pages do not respect the additional prefix.
Case 1
Submitting a new module results in the error
Developer console confirms the system is requesting https://cloudfrontdomain/jobs/xxxxxxxxxxxxxx
Case 2
Adding a new SSH Key under the credentials section is successful, but redirects to the root. Developer console shows that the call to https://cloudfrontdomain/packeton/users/sshkey was successful returning a 302, but the location header in the redirect is set to / resulting being thrown out to https://cloudfrontdomain
Case 3
If i go to the https://cloudfrontdomain/packeton/about#how-to-update-packages page. None of the webhook urls generated contain the prefix. They all present https://cloudfrontdomain/api/github?token=xxxxxxxxxxxxxx
Case 4
the packages.json file does not include the prefix for the metadata-url and the providers-lazy-url fields.
Can you reproduce the bug on the Packeton demo site?
Not applicable
Database
MySQL
Screenshots
No response
How are you running Packeton?
nginx/php-fpm behind AWS Cloudfront proxy
The text was updated successfully, but these errors were encountered: