server {
    listen 80 default_server;
    listen 443 default_server;
    return 444;
}
class ApplicationController < ActionController::Base
    before_action :debug_headers

	private
    def debug_headers
        if request.env['HTTP_X_FORWARDED_HOST']
            request.env.except!('HTTP_X_FORWARDED_HOST') # drop the variable
        end
    end

end