Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- server {
- listen 127.0.0.1:80;
- server_name _username_.sandyd.me 63.141.254.19;
- port_in_redirect off;
- root /opt/nfs/main/home/_username_/public_html;
- error_log /var/log/nginx/sites/_username_.sandyd.me_error_log warn;
- index index.html index.htm index.php;
- set_real_ip_from 127.0.0.1;
- real_ip_header X-Forwarded-For;
- autoindex on;
- location ~ \.php$ {
- try_files $uri =404;
- fastcgi_pass unix:/var/run/php-fpm/php-fpm-_username_.sock;
- fastcgi_index index.php;
- include fastcgi_params;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement