server {
server_name localhost4;
root /var/www/localhost4/public;
index index.php;
try_files $uri $uri/ @notfile;
location @notfile {
rewrite ^(.*) /index.php last;
}
location ~ \.php$ {
fastcgi_pass 127.0.0.1:8888;
fastcgi_index /index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include /etc/nginx/fastcgi_params;
}
}
thanks
ReplyDeletegood tip man
ReplyDeletebtw, check out my new post on Enhanced by MS Paint :)
programming aint my best; I've never tried php.
ReplyDeleteLooks fun just to look at though =D
I would appreciate your input on my Razer Lycosa review if you haven't commented already =D
Please check out my best of daft punk post too if you haven't yet please. This is part of a new best of series I'm starting, so any input is appreciated! <3 Thanks in advance!
Nice!:)
ReplyDeleteVisit and Follow my blogs!;)
seems to make sense
ReplyDeletenice programming
ReplyDeleteThis is great!
ReplyDeletethis is too technical for me
ReplyDeleteno new posts? =D
ReplyDeletegreat code.thx for sharing
ReplyDeletethat's complicated man
ReplyDeletewhoa, super complicated
ReplyDeletethis looks useful
ReplyDeletelol
ReplyDeletenice one
ReplyDeletenice,thx ^^
ReplyDelete