-
Notifications
You must be signed in to change notification settings - Fork 344
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
docker not working , header_mismatch, customDomainHeaderValue: undefined #295
Comments
I have the same problem. |
See #283 |
Hi, can you try setting your docker client env to:
We probably need to update the default settings to this |
still not working , the same error messages. my docker command
docker logs
|
The issue comes from this code: /client/lib/utils.js#L75-L81 export const customDomainUsed = function() {
const config = useRuntimeConfig()
const appDomain = getDomain(config.public.appUrl)
const host = getHost()
return host !== appDomain && getDomain(host) !== appDomain
} Please make sure that |
my docker command
my .env file
same error in docker log
|
@changchichung there are 2 Custom Laravel .env file:
Custom Nuxt .env file:
|
even with Custom Nuxt .env file , the error was still there. but in docker logs , I found something interseting .
so I mapping .env file to /app/.nuxt.env instead of mapping to /app/client/.env , and now it works ! |
I'll give this a proper try this afternoon, could you please try to send me all the steps to reproduce? |
add a start.sh
cp .env.docker .env
to .env file then run start.sh to bring up the container. and when I try to open the image URL , there are some error in browser .
|
Hi there, I just went through the process again, without changing any .env files and it worked just fine. I only ran Can you please try this yourself without customizing the .env files? |
ok , here is complete log of my steps , just git clone and docker run , it's the same error. |
I just simplified the custom domain handling for docker environment to avoid this issue, can please try again pulling the latest docker image? |
ok , with the latest docker image , the container works ! thanks ! but some images are still missing. when I try to directly open the img file , it throw out some error
|
We're working on it! |
Fixed! I'll draft the release now! #312 |
docker logs
I also try cp .docker.env .env and mapping .env to container, my docker command
and part of my .env file
so , where should I modify the customdomain value ? ?
The text was updated successfully, but these errors were encountered: