Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- server {
- listen 80;
- server_name kenthhagstrom.se *.kenthhagstrom.se;
- return 301 http://kenthhagstrom.se$request_uri;
- index index.php;
- root /www/kenthhagstrom.se/public;
- # Logging
- access_log off;
- location ~ \.php$ {
- try_files $uri =404;
- fastcgi_index index.php;
- fastcgi_pass unix:/var/run/php5-fpm.sock;
- include fastcgi_params;
- fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
- fastcgi_param SCRIPT_NAME $fastcgi_script_name;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement