aboutsummaryrefslogtreecommitdiff
path: root/nginx/homepage-testing.conf
diff options
context:
space:
mode:
authorJackJ30 <jackqjamison@gmail.com>2025-05-14 20:00:46 -0400
committerJackJ30 <jackqjamison@gmail.com>2025-05-14 20:00:46 -0400
commit208dea1fe86b4c79c714c3927383bcc9abb9b3fe (patch)
treedf2010c5eae8d89520298bc2a547ad037480c1d6 /nginx/homepage-testing.conf
parent0be96ce3fe886898d52337586257be7fc67a9b30 (diff)
projects with images
Diffstat (limited to 'nginx/homepage-testing.conf')
-rw-r--r--nginx/homepage-testing.conf13
1 files changed, 13 insertions, 0 deletions
diff --git a/nginx/homepage-testing.conf b/nginx/homepage-testing.conf
new file mode 100644
index 0000000..dce9389
--- /dev/null
+++ b/nginx/homepage-testing.conf
@@ -0,0 +1,13 @@
+# http server
+server {
+ listen 80 ;
+ listen [::]:80 ;
+ server_name jackjamison.xyz;
+
+ location / {
+ root /var/www/homepage;
+ index index.html;
+ error_page 404 404.html;
+ try_files $uri $uri/ =404;
+ }
+} \ No newline at end of file