1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-04-07 14:57:48 +00:00

Moving to passenger + nginx

This commit is contained in:
2018-07-26 10:34:48 +00:00
parent 1dbbed833e
commit 93b726f425
8 changed files with 166 additions and 15 deletions

View File

@@ -0,0 +1,14 @@
server {
listen 443 ssl;
server_name localhost;
ssl_certificate /ssl/server.crt;
ssl_certificate_key /ssl/server.key;
ssl_session_cache shared:SSL:1m;
ssl_session_timeout 5m;
ssl_ciphers HIGH:!aNULL:!MD5;
ssl_prefer_server_ciphers on;
root /rails/public;
passenger_enabled on;
passenger_ruby /usr/local/bin/ruby;
passenger_app_env production;
}