Jelajahi Sumber

feat "第四次部署尝试"

Leonezhurui 2 tahun lalu
induk
melakukan
628db58fd2
1 mengubah file dengan 3 tambahan dan 5 penghapusan
  1. 3 5
      nginx.conf

+ 3 - 5
nginx.conf

@@ -1,6 +1,9 @@
 server {
 server {
     listen 80;
     listen 80;
 
 
+    access_log /var/log/nginx/access.log;
+    error_log /var/log/nginx/error.log;
+
     location / {
     location / {
         root   /usr/share/nginx/html;
         root   /usr/share/nginx/html;
         index  index.html index.htm;
         index  index.html index.htm;
@@ -12,9 +15,4 @@ server {
         root   /usr/share/nginx/html;
         root   /usr/share/nginx/html;
     }
     }
 
 
-    http {
-        access_log /var/log/nginx/access.log;
-        error_log /var/log/nginx/error.log;
-    }
-
 }
 }