Changed the setting of headers, especially for purge
Explicit version of scala. Extra headers for purge in case you want to override the host