######################################## # # # rust-rxpy configuration # # # ######################################## ################################### # Global settings # ################################### http_port = 8080 https_port = 8443 ################################### # Backend settings # ################################### [[application]] app_name = 'localhost' # this should be option, if null then same as hostname hostname = 'localhost' https_redirection = true reverse_proxy = [ # default destination if path is not specified { destination = 'www.google.com', tls = true }, { destination = 'www.bing.com', path = '/maps', tls = true }, ] ## List of destinations to send data to. ## At this point, round-robin is used for load-balancing if multiple URLs are specified. # allowhosts = ['127.0.0.1', '::1', '192.168.10.0/24'] # TODO # denyhosts = ['*'] # TODO tls_cert_path = 'localhost.pem' tls_cert_key_path = 'localhost.pem' [[application]] app_name = 'locahost_application' hostname = 'localhost.localdomain' https_redirection = true reverse_proxy = [{ destination = 'www.google.com', tls = true }] tls_cert_path = 'localhost.pem' tls_cert_key_path = 'localhost.pem'