Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- server {
- listen 80;
- server_name ci-app.local;
- root /home/ragnis/ci-app/www;
- location / {
- try_files $uri index.php;
- }
- location index.php {
- include /etc/nginx/fastcgi_params;
- keepalive_timeout 0;
- fastcgi_param SCRIPT_FILENAME $document_root/index.php;
- fastcgi_pass 127.0.0.1:9000;
- }
- location ~ \.(js|ico|gif|jpg|png|css)$ {
- # it will automatically handle static files
- }
- }
Add Comment
Please, Sign In to add comment