memperbaiki database

This commit is contained in:
2026-06-10 09:40:14 +07:00
parent 1229e495d7
commit d55dc2c420
3 changed files with 23 additions and 1 deletions
+1 -1
View File
@@ -1483,7 +1483,7 @@
<label>Nama Kepala Keluarga (Wajib)</label>
<input type="text" id="add-lp-nama" placeholder="Cth: Pak Budi">
<label>NIK (16 Digit - Opsional)</label>
<label>NIK (16 Digit)</label>
<input type="text" id="add-lp-nik" placeholder="16 Digit NIK" maxlength="16">
<label>No. WhatsApp Pelapor (Opsional)</label>
<input type="text" id="add-lp-wa" placeholder="08xxxxxxxx">
+17
View File
@@ -0,0 +1,17 @@
server {
listen 80;
root /app;
index index.html index.php;
location / {
try_files $uri $uri/ /index.html;
}
location ~ \.php$ {
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param PHP_VALUE "display_errors=0";
}
}
+5
View File
@@ -0,0 +1,5 @@
[phases.setup]
nixPkgs = ["php83", "php83Extensions.mysqli", "php83Extensions.pdo_mysql", "php83Extensions.mbstring", "php83Extensions.session", "nginx"]
[start]
cmd = "php-fpm83 -D && nginx -g 'daemon off;'"