-
-
Notifications
You must be signed in to change notification settings - Fork 594
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Image preview - 400 Bad Request #929
Comments
add an env |
@tea-artist, I already set this variable, doesn't fix my issue. |
Can you give a minimum reproducible yaml to help us better locate the problem? |
I run it on Kubernetes with Nginx Ingress proxy on front of it. I use latest release My env vars :
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
The preview of pictures don't work and return 400 Bad Request
To Reproduce
Install teable in production behind a reverse-proxy.
Additional context
The request is :
The answer is :
"url" parameter is valid but upstream response is invalid
I have tried few things :
connectSrc -> https://*
images -> protocol: https, hostename: *
ENABLE_CSP=false on Dockerfile
NEXT_ENV_IMAGES_ALL_REMOTE -> "true" on the running container
It doesn't change anything.
I also tried
sed -i 's/app.use(helmet());/app.use(helmet({ crossOriginResourcePolicy: false, });/g' apps/nestjs-backend/src/bootstrap.ts
but doesn't build.Please can I have any help to fix this ?
The text was updated successfully, but these errors were encountered: