Apache reverse proxy implementation for keystone

The reverse proxy is used to implement CORS headers for now. Later the same
implementation can be used to enable ssl (just wanted to enable ssl as separate
patch).
Can you move all the common ones outside of the "if $ssl_enabled" block, please?