Flash Policy Daemon на nginx

Реализация Flash Policy Daemon на nginx проста и изящна:

# FLASH POLICY DAEMON
# returns crossdomain.xml on any request

server {
    listen 843;
    server_name  localhost;

    location / {
        rewrite ^(.*)$ /crossdomain.xml;
        }

    error_page 400 /crossdomain.xml;

    location = /crossdomain.xml {
        root html;
        }
    }