Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- server {
- listen 127.0.0.1;
- server_name makkoto-website.au;
- access_log /var/log/nginx/makkoto-website.access_log main;
- error_log /var/log/nginx/makkoto-website.error_log info;
- root /home/loremipsum/projects/makkoto-website/src/www;
- location / {
- try_files $uri $uri/ /index.php?$query_string;
- }
- location ~ \.php$ {
- try_files $uri $uri/ =404;
- include fastcgi_params;
- fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
- fastcgi_pass unix:/var/run/php5-fpm.sock;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement