Ubuntu Pastebin

Paste from Bruce_Dev at Sun, 28 Aug 2016 20:49:47 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
server {
	listen 80 default_server;
	listen [::]:80 default_server;


	root /var/www/laravel/public;
	index index.php index.html index.htm index.nginx-debian.html;

	server_name localhost;

	location / {
        try_files $uri $uri/ /index.php?$query_string;
    }

    location ~ \.php\$ {
        try_files \$uri /index.php =404;
        fastcgi_split_path_info ^(.+\.php)(/.+)\$;
        fastcgi_pass unix:/run/php/php7.0-fpm.sock;
        fastcgi_index index.php;
        fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
        include fastcgi_params;
    }

    location ~ /\.ht {
        deny all;
    }
}
Download as text