Questions tagged [ruby-rack]

Rack provides a minimal interface between webservers supporting Ruby and Ruby frameworks.

6 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4 votes
1 answer
2k views

Rails when served by unicorn is generating the wrong fingerprint for precompiled assets

I have a production server with nginx -> unicorn -> rails. I precompile assets, which puts assets in public/assets with a fingerprint (hash) appended to the filename. However, when a web page is ...
Whit Kemmey's user avatar
3 votes
1 answer
250 views

Sharing HTTP session data in Passenger/Rack - What's the Best Current Practice?

My company has a customer-facing web application distributed across several servers for the purpose of load balancing and fault tolerance. The application is written in Ruby (Rack, running under ...
voretaq7's user avatar
  • 80.4k
2 votes
1 answer
736 views

setup Nginx, uwsgi for RAILS app on non-root location

I've set up and run a RAILS app (graylog2), and the below config made it work for root location: server { server_name www.mydomain.com; location / { gzip off; uwsgi_modifier1 ...
HVNSweeting's user avatar
1 vote
1 answer
1k views

Apache/Passenger: not following PassengerMaxPoolSize/PassengerMaxInstancesPerApp?

If I'm correct when I think that a line of 30193 ramon 16 0 170M 119M 3628 S 0.0 11.6 0:08.47 Rack: /var/www/salcedoauctions/current in htop means that there's one spawn of the ...
Ramon Tayag's user avatar
0 votes
0 answers
444 views

Rails application with Apache on Windows Server

I need to migrate an existing Rails application (Redmine) on a Windows Server 2019 machine. It's been requested to use Apache as web server. The application runs correctly on localhost through webrick,...
Fed C's user avatar
  • 1
0 votes
1 answer
2k views

Host multiple Rack apps on one server with multiple ports (using Apache and Passenger)

I've search online and been reading documentation for Apache, Passenger, Rack, etc, but have yet to find a solution to my problem. I have several Rack (ruby)-based apps, located in /home/web/sites/...
Arman H's user avatar
  • 101