diff --git a/nixpacks.toml b/nixpacks.toml index 71019c1..50e25ea 100644 --- a/nixpacks.toml +++ b/nixpacks.toml @@ -1,25 +1,11 @@ # Nixpacks configuration for Coolify static site deployment -# This ensures your Coffee website is deployed securely with nginx +# Simple configuration for serving static files [variables] -# Enable static site serving with nginx -NIXPACKS_NO_CACHE = "1" - -[phases.setup] -# Install nginx and required packages -nixPkgs = ["nginx"] - -[phases.build] -# Copy security configuration -cmds = [ - "mkdir -p /etc/nginx/conf.d", - "cp coolify-nginx.conf /etc/nginx/conf.d/security.conf" -] - -[phases.start] -# Start nginx with security configuration -cmd = "nginx -g 'daemon off;'" +# Configure for static site +NIXPACKS_BUILD_CMD = "echo 'Static site - no build needed'" +NIXPACKS_START_CMD = "echo 'Static site ready'" [staticAssets] -# Configure static asset serving +# Serve all files from root directory "/" = "."