diff options
author | Xiao Pan <gky44px1999@gmail.com> | 2023-12-27 05:10:02 +0000 |
---|---|---|
committer | Xiao Pan <gky44px1999@gmail.com> | 2023-12-27 05:10:02 +0000 |
commit | 96473d3dae7afa612ba6d44e933d3405cb80dac7 (patch) | |
tree | f10dee1e00fc6be7fb7fb2edc3005b39077aaae6 /etc/nginx | |
parent | 082b421debcf93db5354a46e2d9ef3b41d2f8497 (diff) |
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
Diffstat (limited to 'etc/nginx')
-rw-r--r-- | etc/nginx/nginx.conf | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |