[Bug]: Magento 2 - CSS not loading on mobile / Redirect issue.
- Dominant language
- PHP
- Stars
- 4.6k
- Forks
- 308
- PR merge metrics
- No merged PRs in 30d
Description
### System architecture
Linux
### PHP Version
_No response_
### Bug description
**Technologies used:**
Magento 2, Warden, Docker, Nginx, Varnish, Traefik.
I'm experiencing issues when trying to expose my local Magento 2 dev environment for mobile testing, namely:
1. When accessing the exposed site on mobile, the CSS isn't being loaded at all.
2. I can only view the homepage. When clicking any links or buttons, I get redirected to my local dev URL, which isn't accessible from external devices.
I've tried changing the Traefik domain to match the one provided by expose, but this results in endless redirect loops.
Also, changing both Magento 2's secure/unsecure base URLs in the database didn't help.
I was wondering, would the custom domain feature in the pro version solve this issue?
Any other ideas?
### Steps to reproduce
_No response_
### Relevant log output
```shell
```
Contributor guide
Assessment
This issue has not been assessed yet.