Update settings.py

Adjust the allowed_hosts value based on PAAS variables.