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