Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ###############################################################################
- # DO NOT EDIT THIS FILE.
- #
- # Your changes to this file will be overwritten by ServerPilot.
- #
- # For information on how to customize nginx settings, see
- # https://serverpilot.io/community/articles/customize-nginx-settings.html
- ###############################################################################
- server {
- listen 80;
- listen [::]:80;
- server_name
- hoy.co.uk
- www.hoy.co.uk
- ;
- root /srv/users/serverpilot/apps/hoy/public;
- access_log /srv/users/serverpilot/log/hoy/hoy_nginx.access.log main;
- error_log /srv/users/serverpilot/log/hoy/hoy_nginx.error.log;
- proxy_set_header Host $host;
- proxy_set_header X-Real-IP $remote_addr;
- proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
- include /etc/nginx-sp/vhosts.d/hoy.d/*.nonssl_conf;
- include /etc/nginx-sp/vhosts.d/hoy.d/*.conf;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement