Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- server {
- listen 7688;
- server_name 10.6.101.76;
- #charset koi8-r;
- access_log /var/log/nginx/log/report.kiselindonesia.net.access.log main;
- root /home/sandaljepit/public_html;
- index index.php index.html index.htm;
- location / {
- try_files $uri $uri/ =404;
- #root /usr/share/nginx/html;
- #index index.php index.html index.htm;
- }
- error_page 500 502 503 504 /50x.html;
- location = /50x.html {
- root /home/sandaljepit/public_html;
- }
- location ~ \.php$ {
- try_files $uri =404;
- fastcgi_pass unix:/var/run/php-fpm/php5-fpm-report.sock;
- fastcgi_index index.php;
- fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
- include fastcgi_params;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement