+
+
+ setFormValues({ ...formValues, rule: e.target.value })}
+ placeholder="PathRule rule here"
+ style={{ width: '100%', padding: '8px', fontFamily: 'monospace', fontSize: 13, border: '1px solid var(--color-border)', borderRadius: '4px' }}
+ />
+
+
+
+
+
+ setFormValues({
+ ...formValues,
+ entry_points: e.target.value
+ .split(',')
+ .map((s: string) => s.trim())
+ .filter((s: string) => s !== ''),
+ })
+ }
+ placeholder="traefik, websecure"
+ style={{ width: '100%', padding: '8px', fontFamily: 'monospace', fontSize: 13, border: '1px solid var(--color-border)', borderRadius: '4px' }}
+ />
+
+
+
+
+ setFormValues({ ...formValues, service: e.target.value })}
+ placeholder="my-service"
+ style={{ width: '100%', padding: '8px', fontFamily: 'monospace', fontSize: 13, border: '1px solid var(--color-border)', borderRadius: '4px' }}
+ />
+
+
+
+
+
+ setFormValues({
+ ...formValues,
+ middlewares: e.target.value
+ .split(',')
+ .map((s: string) => s.trim())
+ .filter((s: string) => s !== ''),
+ })
+ }
+ placeholder="rate-limit@file, cors@file"
+ style={{ width: '100%', padding: '8px', fontFamily: 'monospace', fontSize: 13, border: '1px solid var(--color-border)', borderRadius: '4px' }}
+ />
+
+
+
+
+ setFormValues({ ...formValues, priority: Number(e.target.value) })}
+ type="number"
+ min="0"
+ max="65535"
+ style={{ width: '100%', padding: '8px', fontFamily: 'monospace', fontSize: 13, border: '1px solid var(--color-border)', borderRadius: '4px' }}
+ />
+
+
+
+
+ setFormValues({ ...formValues, tls_options: e.target.value })}
+ placeholder="modern@default"
+ style={{ width: '100%', padding: '8px', fontFamily: 'monospace', fontSize: 13, border: '1px solid var(--color-border)', borderRadius: '4px' }}
+ />
+
+
+
+
+ setFormValues({ ...formValues, tls_cert_resolver: e.target.value })}
+ placeholder="letsencrypt"
+ style={{ width: '100%', padding: '8px', fontFamily: 'monospace', fontSize: 13, border: '1px solid var(--color-border)', borderRadius: '4px' }}
+ />
+
+
+
+
+
+ setFormValues({
+ ...formValues,
+ tls_domains: e.target.value,
+ })
+ }
+ placeholder="example.com, www.example.com"
+ style={{ width: '100%', padding: '8px', fontFamily: 'monospace', fontSize: 13, border: '1px solid var(--color-border)', borderRadius: '4px' }}
+ />
+
+
+
+