fix: hapus nginx.conf dan nixpacks.toml, biarkan nixpacks auto-config
This commit is contained in:
-21
@@ -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;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -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;'"
|
|
||||||
Reference in New Issue
Block a user