Disable keep-alive in production
Fix secured media URLs when using a non empty  setting