Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- server {
- listen 80;
- server_name zsa.dev;
- root C:\Server\www\ZendSkeletonApplication\public;
- index /index.php;
- location / {
- if (!-f $request_filename) {
- rewrite ^(.*)$ /index.php?q=$1 last;
- break;
- }
- }
- location ~* ^.+.(css|js|jpeg|jpg|gif|png|ico) {
- expires 30d;
- }
- location ~ .(php|phtml)$ {
- fastcgi_pass 127.0.0.1:9000;
- fastcgi_index /index.php;
- fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
- include /etc/nginx/fastcgi_params;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement