Last active
July 7, 2017 10:30
-
-
Save nisanthchunduru/9672fec61d8249f102c2ec26d8362eb4 to your computer and use it in GitHub Desktop.
Example nginx configuration file for phusion passenger open source
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| server { | |
| listen 443; | |
| root /home/rails/apps/magicbell_site/current/public; | |
| server_name magicbell.io; | |
| # Use certificates we purchased from https://www.ssl2buy.com | |
| ssl on; | |
| ssl_certificate /etc/nginx/certs/magicbell.io/magicbell.io.crt; | |
| ssl_certificate_key /etc/nginx/certs/magicbell.io/magicbell.io.key; | |
| passenger_enabled on; | |
| passenger_sticky_sessions on; | |
| passenger_ruby /usr/local/rvm/wrappers/ruby-2.4.1/ruby; | |
| index index.htm index.html; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment