production setting now accepts local setting for forwarded host