-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
unknown "mage_run_code" variable #996
Comments
Can you post your full This error is telling:
I'd recommend fixing one error at a time, as fixing one thing could resolve others. The error above is leading to an invalidly formatted YAML file. |
I'm experiencing a very similar issue. Local AC instance working fine when the following lines are commented out of the nginx.conf: STEPS TAKEN / STEPS TO REPRODUCE EXPECTED RESULT ACTUAL RESULT Is this a known issue? Are there any known fixes? It seems like it may be a permissions issue. |
I had a similar issue as above, but found that the images/nginx/conf/default.conf was not copying over - verified by checking the /etc/nginx/conf.d/default.conf file in the app container. I rebuilt the image from the Dockerfile with: docker build --pull --rm -f "images/nginx/Dockerfile" -t magento:latest "images/nginx" And found an error had been thrown due to a typo in the images/nginx/Dockerfile. After I corrected this and rebuilt the container the problem was solved. |
Description
https://courses.m.academy/courses/487758/lectures/14780970
When trying to configure a multi-store instance, I get the error in nginx app container unknown "mage_run_code" variable
Steps To Reproduce
Expected Result
Both websites working which are set in images/nginx/conf/default.conf
Actual Result
Ubuntu terminal giving this error:
/compose.yaml: yaml: line 12: did not find expected key
Docker app container log this one:
[emerg] 1#1: unknown "mage_run_type" variable
If you comment out these lines, it works as usual, but apparently it doesn't let me access my second website and instead redirects to the default one.
fastcgi_param MAGE_RUN_TYPE $MAGE_RUN_TYPE;
fastcgi_param MAGE_RUN_CODE $MAGE_RUN_CODE;
I use Windows 10 and WSL2.
The text was updated successfully, but these errors were encountered: