From 6baebfad11c3945324e2d13292fe82331fdc279a Mon Sep 17 00:00:00 2001 From: Ulric Qin Date: Sun, 27 Sep 2020 23:03:45 +0800 Subject: [PATCH] pub dir set to /home/n9e/pub --- .gitignore | 2 ++ etc/nginx.conf | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index ba91ae54..0b4c2f22 100644 --- a/.gitignore +++ b/.gitignore @@ -26,6 +26,8 @@ _test /log* /bin /out +/meta +/pub /build /dist /etc/*.local.yml diff --git a/etc/nginx.conf b/etc/nginx.conf index 6d4207f6..d8099f27 100644 --- a/etc/nginx.conf +++ b/etc/nginx.conf @@ -94,7 +94,7 @@ http { server { listen 80 default_server; server_name n9e.example.com; - root /usr/share/nginx/html; + root /home/n9e/pub; # Load configuration files for the default server block. include /etc/nginx/default.d/*.conf; @@ -136,4 +136,4 @@ http { } } -} \ No newline at end of file +}