Revert "settings fix"

This reverts commit d5ab86de1f9e3758520b265cefc5b651f134e16f.
Revert "provided option to use x-forwarded-for as remote address"

This reverts commit bcb5c97679df2ac41aba8a98c1b96838d37f155f.
logs X-Forwarded-For ip