Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- server {
- listen 80 default_server;
- listen [::]:80 default_server;
- fastcgi_buffers 16 16k;
- fastcgi_buffer_size 32k;
- root /home/www;
- index index.php index.html index.htm index.nginx-debian.html;
- server_name _;
- location / {
- try_files $uri $uri/ =404;
- }
- location ~ \.php$ {
- try_files $uri =404;
- fastcgi_pass unix:/run/php/php5.6-fpm.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