I’m setting up a staging server for a server that’s already in production and functioning with Apache. My staging I’m setting with nginx because I want to test the performance difference.
When I access the store, no CSS/JS/images get loaded and I get a lot of “not found” on nginx error log.
All errors are like this:
2021/01/22 19:09:18 (error) 248516#248516: *26 open() "/var/www/html/WEBSITE/pub/static/version1611342481/frontend/Nexa/STORE/fr_CA/Magento_Catalog/images/product/placeholder/image.jpg" failed (2: No such file or directory), client: redactedIP, server: http://URL/, request: "GET /pub/static/version1611342481/frontend/Nexa/STORE/fr_CA/Magento_Catalog/images/product/placeholder/image.jpg HTTP/1.1", host: "WEBSITE", referrer: "WEBSITE/category/subcategory/product.html"
(redacted because of NDA)
There’s no folder version1611342481 inside pub/static, but there’s no folder like that as well on production server and it’s working alright. Same code and versions on both.
How can I debug/solve this?