aboutsummaryrefslogtreecommitdiff
path: root/nginx/homepage-testing.conf
diff options
context:
space:
mode:
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