support configurable frontend site protocol