Advertisement
Guest User

Untitled

a guest
Mar 23rd, 2013
14
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. location /flashservices/ {
  2. try_files $uri @dynamic;
  3. }
  4.  
  5. ###
  6. ### send all not cached requests to php-fpm with clean URLs support
  7. ###
  8. location @dynamic {
  9. rewrite ^/(.*)$ /index.html last;
  10. }
  11.  
  12. ###
  13. ### send all non-static requests to php-fpm
  14. ###
  15. location ~ /flashservices/\.php$ {
  16. try_files $uri @dynamic; ### check for existence of php file first
  17. fastcgi_pass 127.0.0.1:9000; ### php-fpm listening on port 9000
  18. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement