summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorXiao Pan <gky44px1999@gmail.com>2023-12-27 05:37:51 +0000
committerXiao Pan <gky44px1999@gmail.com>2023-12-27 05:37:51 +0000
commit93f75254dd4bd5276a7cc4f6571e899215e70afd (patch)
treebcd6f7a2336ad947b97b01b49b6a17c378c148fd /etc
parent0dbdc9a6227aa0bf3435b333dc53ac27bea81d49 (diff)
I want to try to seperate homepage with mirror.flylightning.xyz. Other common practices for /srv/http alternatives are /srv/www and /var/www. If I use /srv/http/www then it kinda mix the meaning with other /srv/http alternative practices. I think /srv/http/master maybe a better name.
Diffstat (limited to 'etc')
-rw-r--r--etc/nginx/nginx.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/nginx/nginx.conf b/etc/nginx/nginx.conf
index 3d4af871..951a26a8 100644
--- a/etc/nginx/nginx.conf
+++ b/etc/nginx/nginx.conf
@@ -49,7 +49,7 @@ http {
#access_log logs/host.access.log main;
location / {
- root /srv/http/www;
+ root /srv/http/master;
index index.html;
}