Skip to content
Grav 2.0 is officially stable. Read the announcement →
Archive

Running Grav on multiple servers with load balancer

Started by Muut Archive 9 years ago · 3 replies · 750 views
9 years ago

So we're running into an interesting issue when having Grav run on two servers via a load balancer.

If we have the asset pipeline enabled (which we really want) Grav seems to run fine on one server but on server 2 the CSS and JS file gets a 404 and don't load. If we disable the asset pipeline then everything works fine on both servers.

Has anyone else ran into this issue or have experience running a Grav site on multiple servers with a load balancer?

9 years ago

Yes this is the same issue. Grav will generate some files with random names with cache enabled, image processing, or assets pipelining. Sticky sessions will fix it.

Suggested topics

Topic Participants Replies Views Activity
Archive · by Deleted User, 9 years ago
0 1333 9 years ago
Archive · by Muut Archive, 9 years ago
2 924 9 years ago
Archive · by Muut Archive, 9 years ago
2 4055 9 years ago
Archive · by Muut Archive, 9 years ago
1 2938 9 years ago
Archive · by Muut Archive, 9 years ago
3 1111 9 years ago