From 96473d3dae7afa612ba6d44e933d3405cb80dac7 Mon Sep 17 00:00:00 2001 From: Xiao Pan Date: Wed, 27 Dec 2023 05:10:02 +0000 Subject: If nginx config `root /srv/http`, then files in /srv/http/mirrors can be accessed via https://flylightning.xyz/mirrors/archlinux/fly/os/any/fly-any.files, not ideal --- etc/nginx/nginx.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'etc/nginx') diff --git a/etc/nginx/nginx.conf b/etc/nginx/nginx.conf index 6b7b8d2d..3d4af871 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; + root /srv/http/www; index index.html; } -- cgit v1.2.3-70-g09d2