|
@@ -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;
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
}
|
|
}
|