Allow to change NGINX root directory #224
Closed
rsov
started this conversation in
Ideas & Feature Requests
Replies: 1 comment 1 reply
-
You may want to look into doing this with the new beta: #254 Look at the |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
👉 Describe the problem
Magento 2 want's the root to be
/var/www/pub
while the configured one is/var/www/public
👥 Problem evidence & reach
Searched the Magento 2 source and it's hardcoded everywhere, see their nginx config sample: https://github.com/magento/magento2/blob/2.4-develop/nginx.conf.sample
🥰 Describe the "impact" on users?
Anyone who want's to run mage 2 without configuring much. There are dozens of us
🏆 How to solve this problem
Allow change by ENV variable
(Currently have a symlink made to solve this)
Beta Was this translation helpful? Give feedback.
All reactions