fix: hapus nginx.conf dan nixpacks.toml, biarkan nixpacks auto-config

This commit is contained in:
2026-06-14 12:12:31 +07:00
parent fc6a24004d
commit 37f2b17337
2 changed files with 0 additions and 34 deletions
-21
View File
@@ -1,21 +0,0 @@
server {
listen 80;
server_name _;
root /app;
index index.html;
location / {
try_files $uri $uri/ =404;
}
location /sig-jalan/ {
try_files $uri $uri/ =404;
}
location ~ \.php$ {
fastcgi_pass unix:/var/run/php/php8.2-fpm.sock;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include fastcgi_params;
}
}
-13
View File
@@ -1,13 +0,0 @@
providers = ["php"]
[phases.setup]
nixPkgs = ["php", "php82Extensions.mysqli", "php82Extensions.pdo", "php82Extensions.pdo_mysql"]
[phases.build]
cmds = []
[phases.install]
cmds = []
[start]
cmd = "php-fpm -D && nginx -g 'daemon off;'"