Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- server {
- listen 80;
- # don't forget to clean this hardcode later
- root /srv/http/hosts/ambinight.com;
- index index.html index.htm app_dev.php;
- server_name ambinight.debug;
- error_log /srv/http/src/ambinight/app/logs/server.debug.error.log debug;
- access_log /srv/http/src/ambinight/app/logs/server.debug.access.log;
- location / {
- try_files /web$uri /web$uri/ /app/app_dev.php?$args;
- }
- location ~ \.php$ {
- set $fsn /app/app_dev.php;
- fastcgi_split_path_info ^(.+\.php)(/.+)$;
- fastcgi_pass unix:/var/run/php5-fpm.sock;
- fastcgi_index app/app_dev.php;
- include fastcgi_params;
- fastcgi_param script_filename $document_root$fsn;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement