https://github.com/mattyait/nginx-passenger-ruby
Sample rails application to run with passenger application sevrer and behind nginx webserver
https://github.com/mattyait/nginx-passenger-ruby
nginx passenger ruby-on-rails
Last synced: 2 months ago
JSON representation
Sample rails application to run with passenger application sevrer and behind nginx webserver
- Host: GitHub
- URL: https://github.com/mattyait/nginx-passenger-ruby
- Owner: mattyait
- License: apache-2.0
- Created: 2019-04-30T05:03:46.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2024-03-11T21:30:45.000Z (over 2 years ago)
- Last Synced: 2025-03-30T01:19:25.571Z (about 1 year ago)
- Topics: nginx, passenger, ruby-on-rails
- Language: Ruby
- Size: 95.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# nginx-passenger-ruby
Sample rails application to run with passenger application sevrer and behind nginx webserver
# Building the image
docker build -t nginx-rails .
# Rails Application configuration
docker run -it -d -p 8080:80 -v $(pwd)/sample_app:/mnt/application/sample_app nginx-rails
# Open Application
open http://localhost:8080
# Access logs and error logs
tail -f /var/log/nginx/access.log
tail -f /var/log/nginx/error.log