summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXiao Pan <gky44px1999@gmail.com>2023-12-17 10:44:18 +0000
committerXiao Pan <gky44px1999@gmail.com>2023-12-17 10:44:18 +0000
commit97cbf476e5f3ba9be758bba00912024845b6b38b (patch)
treebdbf5de0e81abbd50fa46485ec742afaa7113a33
parent847e4f28b375ac7d99ae7d373a605daacaf83521 (diff)
tmp website
-rw-r--r--etc/nginx/nginx.conf4
-rw-r--r--srv/http/index.html11
2 files changed, 13 insertions, 2 deletions
diff --git a/etc/nginx/nginx.conf b/etc/nginx/nginx.conf
index 151e5f32..464790e1 100644
--- a/etc/nginx/nginx.conf
+++ b/etc/nginx/nginx.conf
@@ -46,8 +46,8 @@ http {
#access_log logs/host.access.log main;
location / {
- root /usr/share/nginx/html;
- index index.html index.htm;
+ root /srv/http;
+ index index.html;
}
#error_page 404 /404.html;
diff --git a/srv/http/index.html b/srv/http/index.html
new file mode 100644
index 00000000..25e03964
--- /dev/null
+++ b/srv/http/index.html
@@ -0,0 +1,11 @@
+<!DOCTYPE html>
+<html>
+<head>
+<title>flylightning's homepage</title>
+</head>
+<body>
+
+<a href="https://git.flylightning.xyz">https://git.flylightning.xyz</a>
+
+</body>
+</html>