Skip to content

Instantly share code, notes, and snippets.

@adam-phillipps
Created March 1, 2016 01:30
Show Gist options
  • Save adam-phillipps/1ce579ced2a2f77d7c1a to your computer and use it in GitHub Desktop.
Save adam-phillipps/1ce579ced2a2f77d7c1a to your computer and use it in GitHub Desktop.
server {
listen 80;
root /home/deploy/asserta_cust_service
index app/views/static_pages/home.html.erb
server_name 23.99.56.151;
location / {
try_files $uri $uri/ /home.html.erb;
}
# listen 80 default_server;
# listen [::]:80 default_server ipv6only=on;
# server_name 23.99.56.151;
# passenger_enabled on;
# rails_env production;
# root /home/deploy/asserta_cust_service/current/public;
# root /home/deploy/asserta_cust_service;
# redirect server error pages to the static page /50x.html
# error_page 500 502 503 504 /50x.html;
# location = /50x.html {
# root html;
# }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment