2023-04-25 10:06:45 +02:00
< div >
2023-12-07 19:06:32 +01:00
< form wire : submit = 'submit' class = " flex flex-col " >
2023-06-02 12:34:45 +02:00
< div class = " flex items-center gap-2 " >
2023-08-11 16:13:53 +02:00
< h2 > Configuration </ h2 >
2023-05-25 14:05:44 +02:00
< x - forms . button type = " submit " >
2023-05-22 12:00:59 +02:00
Save
2023-05-25 14:05:44 +02:00
</ x - forms . button >
2023-05-22 12:00:59 +02:00
</ div >
2024-07-25 13:50:18 -07:00
< div > General configuration for your Last Hour Cloud instance .</ div >
2023-08-11 16:13:53 +02:00
2023-07-28 09:10:35 +02:00
< div class = " flex flex-col gap-2 pt-4 " >
2024-05-17 09:52:19 +02:00
< div class = " flex flex-wrap items-end gap-2 " >
2024-07-25 13:50:18 -07:00
< x - forms . input id = " settings.fqdn " label = " Instance's Domain " placeholder = " https://lasthourhosting.org " />
< x - forms . input id = " settings.instance_name " label = " Instance's Name " placeholder = " Last Hour Cloud " />
< x - forms . input id = " settings.custom_dns_servers " label = " DNS Servers " helper = " DNS servers for validation FQDNs againts. A comma separated list of DNS servers. " placeholder = " 9.9.9.9,149.112.112.112 " />
2024-05-05 17:17:54 +00:00
< div class = " md:w-96 " >
< x - forms . checkbox instantSave id = " is_dns_validation_enabled " label = " Validate DNS settings? " />
</ div >
2023-04-25 10:06:45 +02:00
</ div >
2023-07-14 11:27:08 +02:00
2023-06-12 12:21:48 +02:00
{{ -- < div class = " flex gap-2 " >
2023-05-25 14:05:44 +02:00
< x - forms . input type = " number " id = " settings.public_port_min " label = " Public Port Min " />
< x - forms . input type = " number " id = " settings.public_port_max " label = " Public Port Max " />
2023-06-12 12:21:48 +02:00
</ div > -- }}
2023-04-25 10:06:45 +02:00
</ div >
2024-07-01 16:26:50 +02:00
< h2 class = " pt-6 " > API </ h2 >
< div class = " md:w-96 " >
< x - forms . checkbox instantSave id = " is_api_enabled " label = " Enabled " />
</ div >
2024-07-25 13:50:18 -07:00
< x - forms . input id = " settings.allowed_ips " label = " Allowed IPs " helper = " Allowed IP lists for the API. A comma separated list of IPs. Empty means you allow from everywhere. " placeholder = " 1.1.1.1,8.8.8.8 " />
2023-04-25 10:06:45 +02:00
</ form >
2024-07-01 16:26:50 +02:00
2023-06-23 13:13:02 +02:00
< h2 class = " pt-6 " > Advanced </ h2 >
2024-05-05 17:17:54 +00:00
< div class = " text-right md:w-96 " >
2024-03-20 12:54:06 +01:00
@ if ( ! is_null ( env ( 'AUTOUPDATE' , null )))
2024-07-25 13:50:18 -07:00
< x - forms . checkbox instantSave helper = " AUTOUPDATE is set in .env file, you need to modify it there. " disabled id = " is_auto_update_enabled " label = " Auto Update Last Hour Cloud " />
2023-12-11 21:19:45 +01:00
@ else
2024-07-25 13:50:18 -07:00
< x - forms . checkbox instantSave id = " is_auto_update_enabled " label = " Auto Update Last Hour Cloud " />
2023-12-11 21:30:13 +01:00
@ endif
2023-08-11 20:19:42 +02:00
< x - forms . checkbox instantSave id = " is_registration_enabled " label = " Registration Allowed " />
< x - forms . checkbox instantSave id = " do_not_track " label = " Do Not Track " />
2023-04-25 10:06:45 +02:00
</ div >
2024-07-25 13:50:18 -07:00
</ div >