-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Closed
Labels
Issue: Ready for WorkGate 4. Acknowledged. Issue is added to backlog and ready for developmentGate 4. Acknowledged. Issue is added to backlog and ready for developmentProgress: needs updatebug report
Description
I have 2 VirtualHosts:
Listen 1800
<VirtualHost 127.0.0.1:1800>
ServerName localhost.com
DocumentRoot "C:/work/m2"
SetEnv MAGE_MODE "developer"
SetEnv MAGE_RUN_TYPE "website"
SetEnv MAGE_RUN_CODE "discourse_pro"
RemoteIPHeader X-Forwarded-For
</VirtualHost>
Listen 1900
<VirtualHost 127.0.0.1:1900>
ServerName localhost.com
DocumentRoot "C:/work/m2"
SetEnv MAGE_MODE "developer"
SetEnv MAGE_RUN_TYPE "website"
SetEnv MAGE_RUN_CODE "mage2_pro"
RemoteIPHeader X-Forwarded-For
</VirtualHost>
It is works when FPC is disabled, but does not work if FPC is enabled.
When FPC is enabled, Magento 2 caches the website on the first request, and then shows it for the both website requests, totally ignoring what the site is actually requested.
Metadata
Metadata
Assignees
Labels
Issue: Ready for WorkGate 4. Acknowledged. Issue is added to backlog and ready for developmentGate 4. Acknowledged. Issue is added to backlog and ready for developmentProgress: needs updatebug report