From 37f2b17337f9aab9d5ee6b7f755388bece49187e Mon Sep 17 00:00:00 2001 From: Januar Date: Sun, 14 Jun 2026 12:12:31 +0700 Subject: [PATCH] fix: hapus nginx.conf dan nixpacks.toml, biarkan nixpacks auto-config --- nginx.conf | 21 --------------------- nixpacks.toml | 13 ------------- 2 files changed, 34 deletions(-) delete mode 100644 nginx.conf delete mode 100644 nixpacks.toml diff --git a/nginx.conf b/nginx.conf deleted file mode 100644 index d990d80..0000000 --- a/nginx.conf +++ /dev/null @@ -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; - } -} \ No newline at end of file diff --git a/nixpacks.toml b/nixpacks.toml deleted file mode 100644 index 966e0d3..0000000 --- a/nixpacks.toml +++ /dev/null @@ -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;'" \ No newline at end of file