diff --git a/examples/php-custom-config/index.php b/examples/php-custom-config/index.php
new file mode 100644
index 000000000..de694bb96
--- /dev/null
+++ b/examples/php-custom-config/index.php
@@ -0,0 +1,46 @@
+
+
+
+
+ Hello World!
+
+
+
+
+
+
You should not see this
+
Welcome to Nixpacks!
+
PHP Version:
+
+
+
+
diff --git a/examples/php-custom-config/nginx.template.conf b/examples/php-custom-config/nginx.template.conf
index 2fbfdd366..6f5f3f065 100644
--- a/examples/php-custom-config/nginx.template.conf
+++ b/examples/php-custom-config/nginx.template.conf
@@ -25,6 +25,7 @@ http {
listen ${PORT};
listen [::]:${PORT};
server_name localhost;
+
root /app/stuff;
add_header X-Frame-Options "SAMEORIGIN";
@@ -48,4 +49,4 @@ http {
deny all;
}
}
-}
\ No newline at end of file
+}
diff --git a/examples/php-custom-config/stuff/index.php b/examples/php-custom-config/stuff/index.php
index cbc764682..14c50337b 100644
--- a/examples/php-custom-config/stuff/index.php
+++ b/examples/php-custom-config/stuff/index.php
@@ -1,41 +1,46 @@
-
- Hello World!
-
-
-
-
-
Hello World!
-
Welcome to Nixpacks!
-
PHP Version:
-
-
-
\ No newline at end of file
+
+ Hello World!
+
+
+
+
+
+
Custom Config
+
Welcome to Nixpacks!
+
PHP Version:
+
+
+
+