update some text

This commit is contained in:
Jake Runzer
2025-02-28 21:23:48 -05:00
parent c87b8ad668
commit 6a52dac710
3 changed files with 4 additions and 6 deletions
+2 -2
View File
@@ -47,9 +47,9 @@ http {
}
{{end}}
{{if .NIXPACKS_PHP_FALLBACK_PATH}}
{{if .RAILPACK_PHP_FALLBACK_PATH}}
location / {
try_files $uri $uri/ {{.NIXPACKS_PHP_FALLBACK_PATH}}?$query_string;
try_files $uri $uri/ {{.RAILPACK_PHP_FALLBACK_PATH}}?$query_string;
}
{{end}}
+1 -1
View File
@@ -11,7 +11,7 @@ GHCR](https://github.com/railwayapp/railpack/pkgs/container/railpack-frontend).
## Curl
Download Nixpacks from GH releases and install automatically
Download Railpack from GH releases and install automatically
```sh
curl -sSL https://railpack.com/install.sh | bash
+1 -3
View File
@@ -77,7 +77,6 @@ has() {
command -v "$1" 1>/dev/null 2>&1
}
# Update the temp file function to use railpack instead of nixpacks
get_tmpfile() {
local suffix
suffix="$1"
@@ -210,7 +209,6 @@ detect_platform() {
printf '%s' "${platform}"
}
# Simplify arch detection since we only support x86_64 for now
detect_arch() {
local arch
arch="$(uname -m | tr '[:upper:]' '[:lower:]')"
@@ -218,7 +216,7 @@ detect_arch() {
case "${arch}" in
amd64|x86_64) printf 'x86_64' ;;
arm64|aarch64) printf 'arm64' ;;
*) printf 'x86_64' ;; # default to x86_64 for unknown architectures
*) printf 'x86_64' ;;
esac
}