Advertisement
Guest User

/etc/nginx/sites-enabled/default

a guest
Jun 20th, 2014
307
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. server {
  2. listen 80 default_server;
  3. listen [::]:80 default_server ipv6only=on;
  4.  
  5. server_name WEB-ADDRESS;
  6. passenger_enabled on;
  7. rails_env production;
  8. root /var/www/APP-NAME/current/public;
  9.  
  10. # redirect server error pages to the static page /50x.html
  11. error_page 500 502 503 504 /50x.html;
  12. location = /50x.html {
  13. root html;
  14. }
  15. }
Advertisement
Advertisement
Advertisement
RAW Paste Data Copied
Advertisement