{% set header_res = {'add_header': 'add_header', 'proxy_set_header': 'proxy_set_header', 'proxy_hide_header': 'proxy_hide_header'} %}
{{ input('proxy_pass_alias', name='name_alias', title="Domain name or IP", placeholder="www.example.com") }}
{{ checkbox('http2', title=lang.add_page.desc.enable_http2, desc='Enable HTTP2') }}
{{ input('location', name='location', title="Location", value="/", required='required') }} Proxy connect timeout: {{ input('proxy_connect_timeout', name='proxy_connect_timeout', title='Proxy connect timeout', value="60", type='number', style='width: 40px;') }} Proxy read timeout: {{ input('proxy_read_timeout', name='proxy_read_timeout', title='Proxy read timeout', value="60", type='number', style='width: 40px;') }} Proxy send timeout: {{ input('proxy_send_timeout', name='proxy_send_timeout', title='Proxy send timeout', value="60", type='number', style='width: 40px;') }} {{lang.words.headers|title()}}:
{{ select('headers_res', name='headers_res', values=header_res, first='------', class='force_close') }} {{lang.words.name}} {{ input('header_name', name="header_name") }} {{lang.words.value}} {{ input('header_value', name="header_value") }}
{{ checkbox('hide_server_tokens', title=lang.add_page.desc.hide_server_tokens, desc=lang.phrases.hide_server_tokens, checked='checked') }}
{{ checkbox('security_headers', title=lang.add_page.desc.security_headers, desc=lang.phrases.security_headers, checked='checked') }}