Advertisement
Guest User

Untitled

a guest
Jan 23rd, 2018
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.78 KB | None | 0 0
  1. server {
  2.     listen   7688;
  3.     server_name  10.6.101.76;
  4.     #charset koi8-r;
  5.     access_log  /var/log/nginx/log/report.kiselindonesia.net.access.log  main;
  6.  
  7.     root  /home/sandaljepit/public_html;
  8.     index  index.php index.html index.htm;
  9.     location / {
  10.     try_files $uri $uri/ =404;
  11.         #root   /usr/share/nginx/html;
  12.         #index  index.php index.html index.htm;
  13.     }
  14.  
  15.     error_page   500 502 503 504  /50x.html;
  16.     location = /50x.html {
  17.         root /home/sandaljepit/public_html;
  18.     }
  19.  
  20.     location ~ \.php$ {
  21.     try_files $uri =404;
  22.         fastcgi_pass unix:/var/run/php-fpm/php5-fpm-report.sock;
  23.         fastcgi_index  index.php;
  24.         fastcgi_param  SCRIPT_FILENAME  $document_root$fastcgi_script_name;
  25.         include        fastcgi_params;
  26.     }
  27. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement