Advertisement
venomphil

Untitled

Feb 1st, 2017
156
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.99 KB | None | 0 0
  1. ###############################################################################
  2. # DO NOT EDIT THIS FILE.
  3. #
  4. # Your changes to this file will be overwritten by ServerPilot.
  5. #
  6. # For information on how to customize nginx settings, see
  7. # https://serverpilot.io/community/articles/customize-nginx-settings.html
  8. ###############################################################################
  9.  
  10. server {
  11. listen 80;
  12. listen [::]:80;
  13. server_name
  14. hoy.co.uk
  15. www.hoy.co.uk
  16. ;
  17.  
  18. root /srv/users/serverpilot/apps/hoy/public;
  19.  
  20. access_log /srv/users/serverpilot/log/hoy/hoy_nginx.access.log main;
  21. error_log /srv/users/serverpilot/log/hoy/hoy_nginx.error.log;
  22.  
  23. proxy_set_header Host $host;
  24. proxy_set_header X-Real-IP $remote_addr;
  25. proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
  26.  
  27. include /etc/nginx-sp/vhosts.d/hoy.d/*.nonssl_conf;
  28. include /etc/nginx-sp/vhosts.d/hoy.d/*.conf;
  29. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement