From 93f75254dd4bd5276a7cc4f6571e899215e70afd Mon Sep 17 00:00:00 2001 From: Xiao Pan Date: Wed, 27 Dec 2023 05:37:51 +0000 Subject: 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. --- etc/nginx/nginx.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'etc') 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; } -- cgit v1.2.3-70-g09d2