diff --git a/conf/backend.conf b/conf/backend.conf
new file mode 100644
index 0000000..68218b9
--- /dev/null
+++ b/conf/backend.conf
@@ -0,0 +1,41 @@
+server {
+ listen 8080;
+ server_name 192.168.122.18;
+
+ #charset koi8-r;
+
+ #access_log logs/host.access.log main;
+
+ location / {
+ root html;
+ index index.html;
+ }
+
+ location /pictures {
+ root html;
+ try_files $uri /resources/pictures/01.jpg;
+ }
+
+
+ location /status {
+ vhost_traffic_status_display;
+ vhost_traffic_status_display_format html;
+ allow 192.168.122.18;
+ deny all;
+ }
+
+ location /admin {
+ auth_basic "restricted";
+ auth_basic_user_file /home/artsem_makhnach/nginx/conf/htpasswd;
+ try_files $uri /admin.html;
+ }
+
+
+ error_page 404 /404.html;
+
+
+ error_page 500 502 503 504 /50x.html;
+ location = /50x.html {
+ root html;
+ }
+}
diff --git a/conf/htpasswd b/conf/htpasswd
new file mode 100644
index 0000000..d688e12
--- /dev/null
+++ b/conf/htpasswd
@@ -0,0 +1 @@
+admin:$apr1$9glT73Aj$OuNn/JHWyLEUgszi/uAyz/
diff --git a/conf/nginx.conf b/conf/nginx.conf
index 29bc085..9185889 100644
--- a/conf/nginx.conf
+++ b/conf/nginx.conf
@@ -17,7 +17,9 @@ events {
http {
include mime.types;
default_type application/octet-stream;
+
+ vhost_traffic_status_zone;
#log_format main '$remote_addr - $remote_user [$time_local] "$request" '
# '$status $body_bytes_sent "$http_referer" '
# '"$http_user_agent" "$http_x_forwarded_for"';
@@ -29,54 +31,76 @@ http {
#keepalive_timeout 0;
keepalive_timeout 65;
+
+ include /home/artsem_makhnach/nginx/conf/backend.conf;
#gzip on;
- server {
- listen 80;
- server_name localhost;
-
- #charset koi8-r;
-
- #access_log logs/host.access.log main;
-
- location / {
- root html;
- index index.html index.htm;
- }
-
- #error_page 404 /404.html;
-
- # redirect server error pages to the static page /50x.html
- #
- error_page 500 502 503 504 /50x.html;
- location = /50x.html {
- root html;
- }
-
- # proxy the PHP scripts to Apache listening on 127.0.0.1:80
- #
- #location ~ \.php$ {
- # proxy_pass http://127.0.0.1;
- #}
-
- # pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000
- #
- #location ~ \.php$ {
- # root html;
- # fastcgi_pass 127.0.0.1:9000;
- # fastcgi_index index.php;
- # fastcgi_param SCRIPT_FILENAME /scripts$fastcgi_script_name;
- # include fastcgi_params;
- #}
-
- # deny access to .htaccess files, if Apache's document root
- # concurs with nginx's one
- #
- #location ~ /\.ht {
- # deny all;
- #}
- }
+# server {
+# listen 8080;
+# server_name 192.168.122.18;
+#
+# #charset koi8-r;
+#
+# #access_log logs/host.access.log main;
+#
+# location / {
+# root html;
+# index index.html;
+# }
+#
+# location /pictures {
+# root html;
+# try_files $uri /resources/pictures/01.jpg;
+# }
+#
+#
+# location /status {
+# vhost_traffic_status_display;
+# vhost_traffic_status_display_format html;
+# allow 192.168.122.18;
+# deny all;
+# }
+#
+# location /admin {
+# auth_basic "restricted";
+# auth_basic_user_file /home/artsem_makhnach/nginx/conf/htpasswd;
+# try_files $uri /admin.html;
+# }
+#
+#
+# #error_page 404 /404.html;
+#
+# # redirect server error pages to the static page /50x.html
+# #
+# error_page 500 502 503 504 /50x.html;
+# location = /50x.html {
+# root html;
+# }
+#
+# # proxy the PHP scripts to Apache listening on 127.0.0.1:80
+# #
+# #location ~ \.php$ {
+# # proxy_pass http://127.0.0.1;
+# #}
+#
+# # pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000
+# #
+# #location ~ \.php$ {
+# # root html;
+# # fastcgi_pass 127.0.0.1:9000;
+# # fastcgi_index index.php;
+# # fastcgi_param SCRIPT_FILENAME /scripts$fastcgi_script_name;
+# # include fastcgi_params;
+# #}
+#
+# # deny access to .htaccess files, if Apache's document root
+# # concurs with nginx's one
+# #
+# #location ~ /\.ht {
+# # deny all;
+# #}
+# }
# another virtual host using mix of IP-, name-, and port-based configuration
diff --git a/html/404.html b/html/404.html
new file mode 100755
index 0000000..2a17504
--- /dev/null
+++ b/html/404.html
@@ -0,0 +1 @@
+
My custom 404 error
diff --git a/html/admin.html b/html/admin.html
new file mode 100644
index 0000000..590ba56
--- /dev/null
+++ b/html/admin.html
@@ -0,0 +1 @@
+Restricted admin stuff
diff --git a/html/bodyback.png b/html/bodyback.png
new file mode 100644
index 0000000..f144b55
Binary files /dev/null and b/html/bodyback.png differ
diff --git a/html/err.html b/html/err.html
new file mode 100644
index 0000000..3496019
--- /dev/null
+++ b/html/err.html
@@ -0,0 +1 @@
+Custon error message on LB
diff --git a/html/index.html b/html/index.html
index 2ca3b95..f993751 100644
--- a/html/index.html
+++ b/html/index.html
@@ -1,25 +1,112 @@
-
-
-
-Welcome to nginx!
-
-
-
-Welcome to nginx!
-If you see this page, the nginx web server is successfully installed and
-working. Further configuration is required.
-
-For online documentation and support please refer to
-nginx.org.
-Commercial support is available at
-nginx.com.
-
-Thank you for using nginx.
-
-
+
+
+
+ Main page
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/html/resources/pictures/01.gif b/html/resources/pictures/01.gif
new file mode 100644
index 0000000..727bb95
Binary files /dev/null and b/html/resources/pictures/01.gif differ
diff --git a/html/resources/pictures/01.jpg b/html/resources/pictures/01.jpg
new file mode 100644
index 0000000..576da6f
Binary files /dev/null and b/html/resources/pictures/01.jpg differ
diff --git a/logs/access.log b/logs/access.log
index 5557f72..13f456f 100644
--- a/logs/access.log
+++ b/logs/access.log
@@ -1,2 +1,135 @@
127.0.0.1 - - [05/Oct/2017:14:43:41 +0300] "GET / HTTP/1.1" 200 612 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0"
127.0.0.1 - - [05/Oct/2017:14:43:41 +0300] "GET /favicon.ico HTTP/1.1" 404 169 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0"
+127.0.0.1 - - [05/Oct/2017:15:01:00 +0300] "GET / HTTP/1.1" 304 0 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0"
+127.0.0.1 - - [05/Oct/2017:15:01:01 +0300] "GET / HTTP/1.1" 304 0 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0"
+127.0.0.1 - - [05/Oct/2017:15:01:02 +0300] "GET / HTTP/1.1" 304 0 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0"
+127.0.0.1 - - [05/Oct/2017:15:01:03 +0300] "GET / HTTP/1.1" 304 0 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0"
+127.0.0.1 - - [05/Oct/2017:15:01:58 +0300] "GET / HTTP/1.1" 200 612 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0"
+127.0.0.1 - - [05/Oct/2017:15:01:58 +0300] "GET /favicon.ico HTTP/1.1" 404 169 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0"
+192.168.122.18 - - [05/Oct/2017:15:45:12 +0300] "GET / HTTP/1.1" 200 3970 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0"
+192.168.122.18 - - [05/Oct/2017:15:45:12 +0300] "GET /bodyback.png HTTP/1.1" 200 15502 "http://192.168.122.18:8080/" "Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0"
+192.168.122.18 - - [05/Oct/2017:15:45:12 +0300] "GET /favicon.ico HTTP/1.1" 404 169 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0"
+192.168.122.18 - - [05/Oct/2017:15:52:46 +0300] "GET / HTTP/1.1" 304 0 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0"
+192.168.122.18 - - [05/Oct/2017:15:52:46 +0300] "GET /bodyback.png HTTP/1.1" 304 0 "http://192.168.122.18:8080/" "Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0"
+192.168.122.18 - - [05/Oct/2017:15:52:53 +0300] "GET /pictures HTTP/1.1" 404 169 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0"
+192.168.122.18 - - [05/Oct/2017:15:53:04 +0300] "GET /resources/pictures HTTP/1.1" 301 185 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0"
+192.168.122.18 - - [05/Oct/2017:15:53:04 +0300] "GET /resources/pictures/ HTTP/1.1" 403 169 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0"
+192.168.122.18 - - [05/Oct/2017:15:53:18 +0300] "GET /resources/pictures/01.jpg HTTP/1.1" 200 40700 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0"
+192.168.122.18 - - [05/Oct/2017:15:53:59 +0300] "GET /pictures/01.jpg HTTP/1.1" 404 169 "http://192.168.122.18:8080/" "Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0"
+192.168.122.18 - - [05/Oct/2017:15:54:03 +0300] "GET /admin HTTP/1.1" 404 169 "http://192.168.122.18:8080/" "Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0"
+192.168.122.18 - - [05/Oct/2017:15:54:05 +0300] "GET /status HTTP/1.1" 404 169 "http://192.168.122.18:8080/" "Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0"
+192.168.122.18 - - [05/Oct/2017:16:03:12 +0300] "GET / HTTP/1.1" 304 0 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0"
+192.168.122.18 - - [05/Oct/2017:16:03:12 +0300] "GET /bodyback.png HTTP/1.1" 304 0 "http://192.168.122.18:8080/" "Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0"
+192.168.122.18 - - [05/Oct/2017:16:03:13 +0300] "GET / HTTP/1.1" 304 0 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0"
+192.168.122.18 - - [05/Oct/2017:16:03:13 +0300] "GET /bodyback.png HTTP/1.1" 304 0 "http://192.168.122.18:8080/" "Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0"
+192.168.122.18 - - [05/Oct/2017:16:03:14 +0300] "GET / HTTP/1.1" 304 0 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0"
+192.168.122.18 - - [05/Oct/2017:16:03:14 +0300] "GET /bodyback.png HTTP/1.1" 304 0 "http://192.168.122.18:8080/" "Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0"
+192.168.122.18 - - [05/Oct/2017:16:11:50 +0300] "GET /pictures/01.jpg HTTP/1.1" 500 193 "http://192.168.122.18:8080/" "Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0"
+192.168.122.18 - - [05/Oct/2017:16:11:54 +0300] "GET /pictures/01.jpg HTTP/1.1" 500 193 "http://192.168.122.18:8080/" "Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0"
+192.168.122.18 - - [05/Oct/2017:16:11:55 +0300] "GET /pictures/01.jpg HTTP/1.1" 500 193 "http://192.168.122.18:8080/" "Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0"
+192.168.122.18 - - [05/Oct/2017:16:11:56 +0300] "GET /pictures/01.jpg HTTP/1.1" 500 193 "http://192.168.122.18:8080/" "Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0"
+192.168.122.18 - - [05/Oct/2017:16:11:57 +0300] "GET /pictures/01.jpg HTTP/1.1" 500 193 "http://192.168.122.18:8080/" "Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0"
+192.168.122.18 - - [05/Oct/2017:16:11:58 +0300] "GET /pictures/01.jpg HTTP/1.1" 500 193 "http://192.168.122.18:8080/" "Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0"
+192.168.122.18 - - [05/Oct/2017:16:11:58 +0300] "GET /pictures/01.jpg HTTP/1.1" 500 193 "http://192.168.122.18:8080/" "Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0"
+192.168.122.18 - - [05/Oct/2017:16:11:59 +0300] "GET /pictures/01.jpg HTTP/1.1" 500 193 "http://192.168.122.18:8080/" "Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0"
+192.168.122.18 - - [05/Oct/2017:16:13:05 +0300] "GET /pictures/01.jpg HTTP/1.1" 200 40700 "http://192.168.122.18:8080/" "Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0"
+192.168.122.18 - - [05/Oct/2017:16:13:20 +0300] "GET /pictures/ HTTP/1.1" 200 40700 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0"
+192.168.122.18 - - [05/Oct/2017:16:18:04 +0300] "GET /status HTTP/1.1" 404 169 "http://192.168.122.18:8080/" "Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0"
+192.168.122.18 - - [05/Oct/2017:16:18:07 +0300] "GET /status HTTP/1.1" 404 169 "http://192.168.122.18:8080/" "Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0"
+192.168.122.18 - - [05/Oct/2017:16:22:35 +0300] "GET / HTTP/1.1" 304 0 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0"
+192.168.122.18 - - [05/Oct/2017:16:22:35 +0300] "GET /bodyback.png HTTP/1.1" 304 0 "http://192.168.122.18:8080/" "Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0"
+192.168.122.18 - - [05/Oct/2017:16:22:36 +0300] "GET / HTTP/1.1" 304 0 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0"
+192.168.122.18 - - [05/Oct/2017:16:22:36 +0300] "GET /bodyback.png HTTP/1.1" 304 0 "http://192.168.122.18:8080/" "Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0"
+192.168.122.18 - - [05/Oct/2017:16:22:37 +0300] "GET /status HTTP/1.1" 404 169 "http://192.168.122.18:8080/" "Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0"
+192.168.122.18 - - [05/Oct/2017:16:22:41 +0300] "GET /status HTTP/1.1" 404 169 "http://192.168.122.18:8080/" "Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0"
+192.168.122.18 - - [05/Oct/2017:16:22:53 +0300] "GET /pictures/01.jpg HTTP/1.1" 304 0 "http://192.168.122.18:8080/" "Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0"
+192.168.122.18 - - [05/Oct/2017:16:23:04 +0300] "GET /pictures/01.gif HTTP/1.1" 200 40700 "http://192.168.122.18:8080/" "Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0"
+192.168.122.18 - - [05/Oct/2017:16:23:45 +0300] "GET /pictures HTTP/1.1" 404 169 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0"
+192.168.122.18 - - [05/Oct/2017:16:24:22 +0300] "GET /pictures HTTP/1.1" 200 40700 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0"
+192.168.122.18 - - [05/Oct/2017:16:24:33 +0300] "GET /status HTTP/1.1" 200 128912 "http://192.168.122.18:8080/" "Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0"
+192.168.122.18 - - [05/Oct/2017:16:24:33 +0300] "GET /status/format/json HTTP/1.1" 200 1840 "http://192.168.122.18:8080/status" "Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0"
+192.168.122.18 - - [05/Oct/2017:16:24:34 +0300] "GET /status/format/json HTTP/1.1" 200 1866 "http://192.168.122.18:8080/status" "Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0"
+192.168.122.18 - - [05/Oct/2017:16:24:35 +0300] "GET /status/format/json HTTP/1.1" 200 1890 "http://192.168.122.18:8080/status" "Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0"
+192.168.122.18 - - [05/Oct/2017:16:24:36 +0300] "GET /status/format/json HTTP/1.1" 200 1914 "http://192.168.122.18:8080/status" "Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0"
+192.168.122.18 - - [05/Oct/2017:16:24:37 +0300] "GET /status/format/json HTTP/1.1" 200 1938 "http://192.168.122.18:8080/status" "Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0"
+192.168.122.18 - - [05/Oct/2017:16:24:38 +0300] "GET /status/format/json HTTP/1.1" 200 1962 "http://192.168.122.18:8080/status" "Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0"
+192.168.122.18 - - [05/Oct/2017:16:24:39 +0300] "GET /status/format/json HTTP/1.1" 200 1986 "http://192.168.122.18:8080/status" "Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0"
+192.168.122.18 - - [05/Oct/2017:16:24:40 +0300] "GET /status/format/json HTTP/1.1" 200 2011 "http://192.168.122.18:8080/status" "Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0"
+192.168.122.18 - - [05/Oct/2017:16:24:41 +0300] "GET /status/format/json HTTP/1.1" 200 2039 "http://192.168.122.18:8080/status" "Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0"
+192.168.122.18 - - [05/Oct/2017:16:24:42 +0300] "GET /status/format/json HTTP/1.1" 200 2063 "http://192.168.122.18:8080/status" "Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0"
+192.168.122.18 - - [05/Oct/2017:16:24:43 +0300] "GET /status/format/json HTTP/1.1" 200 2087 "http://192.168.122.18:8080/status" "Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0"
+192.168.122.18 - - [05/Oct/2017:16:24:44 +0300] "GET /status/format/json HTTP/1.1" 200 2111 "http://192.168.122.18:8080/status" "Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0"
+192.168.122.18 - - [05/Oct/2017:16:24:45 +0300] "GET /status/format/json HTTP/1.1" 200 2135 "http://192.168.122.18:8080/status" "Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0"
+192.168.122.18 - - [05/Oct/2017:16:24:46 +0300] "GET /status/format/json HTTP/1.1" 200 2159 "http://192.168.122.18:8080/status" "Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0"
+192.168.122.18 - - [05/Oct/2017:16:24:47 +0300] "GET /status/format/json HTTP/1.1" 200 2183 "http://192.168.122.18:8080/status" "Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0"
+192.168.122.18 - - [05/Oct/2017:16:24:48 +0300] "GET /status/format/json HTTP/1.1" 200 2207 "http://192.168.122.18:8080/status" "Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0"
+192.168.122.18 - - [05/Oct/2017:16:24:49 +0300] "GET /status/format/json HTTP/1.1" 200 2231 "http://192.168.122.18:8080/status" "Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0"
+192.168.122.18 - - [05/Oct/2017:16:24:50 +0300] "GET /status/format/json HTTP/1.1" 200 2255 "http://192.168.122.18:8080/status" "Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0"
+192.168.122.18 - - [05/Oct/2017:16:24:51 +0300] "GET /status/format/json HTTP/1.1" 200 2279 "http://192.168.122.18:8080/status" "Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0"
+192.168.122.18 - - [05/Oct/2017:16:24:52 +0300] "GET /status/format/json HTTP/1.1" 200 2303 "http://192.168.122.18:8080/status" "Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0"
+192.168.122.18 - - [05/Oct/2017:16:24:53 +0300] "GET /status/format/json HTTP/1.1" 200 2327 "http://192.168.122.18:8080/status" "Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0"
+192.168.122.18 - - [05/Oct/2017:16:24:54 +0300] "GET /status/format/json HTTP/1.1" 200 2351 "http://192.168.122.18:8080/status" "Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0"
+192.168.122.18 - - [05/Oct/2017:16:24:55 +0300] "GET /status/format/json HTTP/1.1" 200 2375 "http://192.168.122.18:8080/status" "Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0"
+192.168.122.18 - - [05/Oct/2017:16:24:56 +0300] "GET /status/format/json HTTP/1.1" 200 2399 "http://192.168.122.18:8080/status" "Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0"
+192.168.122.18 - - [05/Oct/2017:16:24:57 +0300] "GET /status/format/json HTTP/1.1" 200 2423 "http://192.168.122.18:8080/status" "Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0"
+192.168.122.18 - - [05/Oct/2017:16:24:58 +0300] "GET /status/format/json HTTP/1.1" 200 2447 "http://192.168.122.18:8080/status" "Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0"
+192.168.122.18 - - [05/Oct/2017:16:24:58 +0300] "GET /status/ HTTP/1.1" 200 128914 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0"
+192.168.122.18 - - [05/Oct/2017:16:24:58 +0300] "GET /status//format/json HTTP/1.1" 200 2497 "http://192.168.122.18:8080/status/" "Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0"
+192.168.122.18 - - [05/Oct/2017:16:24:59 +0300] "GET /status//format/json HTTP/1.1" 200 2521 "http://192.168.122.18:8080/status/" "Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0"
+192.168.122.18 - - [05/Oct/2017:16:25:00 +0300] "GET /status//format/json HTTP/1.1" 200 2545 "http://192.168.122.18:8080/status/" "Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0"
+192.168.122.18 - - [05/Oct/2017:16:25:01 +0300] "GET /status//format/json HTTP/1.1" 200 2569 "http://192.168.122.18:8080/status/" "Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0"
+192.168.122.18 - - [05/Oct/2017:16:25:02 +0300] "GET /status//format/json HTTP/1.1" 200 2593 "http://192.168.122.18:8080/status/" "Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0"
+192.168.122.18 - - [05/Oct/2017:16:25:03 +0300] "GET /status//format/json HTTP/1.1" 200 2617 "http://192.168.122.18:8080/status/" "Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0"
+192.168.122.18 - - [05/Oct/2017:16:25:04 +0300] "GET /status//format/json HTTP/1.1" 200 2641 "http://192.168.122.18:8080/status/" "Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0"
+192.168.122.18 - - [05/Oct/2017:16:25:05 +0300] "GET /status//format/json HTTP/1.1" 200 2665 "http://192.168.122.18:8080/status/" "Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0"
+192.168.122.18 - - [05/Oct/2017:16:25:06 +0300] "GET /status//format/json HTTP/1.1" 200 2689 "http://192.168.122.18:8080/status/" "Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0"
+192.168.122.18 - - [05/Oct/2017:16:25:07 +0300] "GET /status//format/json HTTP/1.1" 200 2713 "http://192.168.122.18:8080/status/" "Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0"
+192.168.122.18 - - [05/Oct/2017:16:25:08 +0300] "GET /status//format/json HTTP/1.1" 200 2737 "http://192.168.122.18:8080/status/" "Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0"
+192.168.122.18 - - [05/Oct/2017:16:25:09 +0300] "GET /status//format/json HTTP/1.1" 200 2761 "http://192.168.122.18:8080/status/" "Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0"
+192.168.122.18 - - [05/Oct/2017:16:25:10 +0300] "GET /status//format/json HTTP/1.1" 200 2785 "http://192.168.122.18:8080/status/" "Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0"
+192.168.122.18 - - [05/Oct/2017:16:25:11 +0300] "GET /status/format/json HTTP/1.1" 200 2809 "http://192.168.122.18:8080/status" "Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0"
+192.168.122.18 - - [05/Oct/2017:16:42:13 +0300] "GET /admin HTTP/1.1" 401 195 "http://192.168.122.18:8080/" "Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0"
+192.168.122.18 - admin [05/Oct/2017:16:42:17 +0300] "GET /admin HTTP/1.1" 403 169 "http://192.168.122.18:8080/" "Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0"
+192.168.122.18 - admin [05/Oct/2017:16:42:45 +0300] "GET /admin HTTP/1.1" 403 169 "http://192.168.122.18:8080/" "Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0"
+192.168.122.18 - admin [05/Oct/2017:16:42:46 +0300] "GET /admin HTTP/1.1" 403 169 "http://192.168.122.18:8080/" "Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0"
+192.168.122.18 - admin [05/Oct/2017:16:42:47 +0300] "GET /admin HTTP/1.1" 403 169 "http://192.168.122.18:8080/" "Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0"
+192.168.122.18 - - [05/Oct/2017:16:42:59 +0300] "GET / HTTP/1.1" 200 3970 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0"
+192.168.122.18 - - [05/Oct/2017:16:42:59 +0300] "GET /bodyback.png HTTP/1.1" 200 15502 "http://192.168.122.18:8080/" "Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0"
+192.168.122.18 - - [05/Oct/2017:16:43:01 +0300] "GET /admin HTTP/1.1" 401 195 "http://192.168.122.18:8080/" "Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0"
+192.168.122.18 - admin [05/Oct/2017:16:43:10 +0300] "GET /admin HTTP/1.1" 403 169 "http://192.168.122.18:8080/" "Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0"
+192.168.122.18 - admin [05/Oct/2017:16:44:18 +0300] "GET /admin HTTP/1.1" 403 169 "http://192.168.122.18:8080/" "Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0"
+192.168.122.18 - admin [05/Oct/2017:16:44:32 +0300] "GET /admin HTTP/1.1" 403 169 "http://192.168.122.18:8080/" "Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0"
+192.168.122.18 - admin [05/Oct/2017:16:44:35 +0300] "GET /admin HTTP/1.1" 403 169 "http://192.168.122.18:8080/" "Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0"
+192.168.122.18 - admin [05/Oct/2017:16:44:41 +0300] "GET /admin HTTP/1.1" 403 169 "http://192.168.122.18:8080/" "Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0"
+192.168.122.18 - admin [05/Oct/2017:16:44:43 +0300] "GET /admin/ HTTP/1.1" 403 169 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0"
+192.168.122.18 - admin [05/Oct/2017:16:46:45 +0300] "GET /admin/ HTTP/1.1" 404 169 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0"
+192.168.122.18 - admin [05/Oct/2017:16:46:46 +0300] "GET /admin/ HTTP/1.1" 404 169 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0"
+192.168.122.18 - admin [05/Oct/2017:16:46:50 +0300] "GET /admin HTTP/1.1" 404 169 "http://192.168.122.18:8080/" "Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0"
+192.168.122.18 - admin [05/Oct/2017:16:48:11 +0300] "GET /admin HTTP/1.1" 403 169 "http://192.168.122.18:8080/" "Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0"
+192.168.122.18 - admin [05/Oct/2017:16:49:14 +0300] "GET /admin HTTP/1.1" 404 169 "http://192.168.122.18:8080/" "Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0"
+192.168.122.18 - admin [05/Oct/2017:16:49:33 +0300] "GET /admin HTTP/1.1" 404 169 "http://192.168.122.18:8080/" "Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0"
+192.168.122.18 - - [05/Oct/2017:16:49:40 +0300] "GET / HTTP/1.1" 200 3970 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0"
+192.168.122.18 - - [05/Oct/2017:16:49:40 +0300] "GET /bodyback.png HTTP/1.1" 200 15502 "http://192.168.122.18:8080/" "Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0"
+192.168.122.18 - - [05/Oct/2017:16:49:41 +0300] "GET /admin HTTP/1.1" 401 195 "http://192.168.122.18:8080/" "Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0"
+192.168.122.18 - admin [05/Oct/2017:16:49:47 +0300] "GET /admin HTTP/1.1" 404 169 "http://192.168.122.18:8080/" "Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0"
+192.168.122.18 - - [05/Oct/2017:16:50:55 +0300] "GET / HTTP/1.1" 200 3970 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0"
+192.168.122.18 - - [05/Oct/2017:16:50:55 +0300] "GET /bodyback.png HTTP/1.1" 200 15502 "http://192.168.122.18:8080/" "Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0"
+192.168.122.18 - - [05/Oct/2017:16:50:56 +0300] "GET /admin HTTP/1.1" 401 195 "http://192.168.122.18:8080/" "Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0"
+192.168.122.18 - admin [05/Oct/2017:16:51:00 +0300] "GET /admin HTTP/1.1" 404 169 "http://192.168.122.18:8080/" "Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0"
+192.168.122.18 - - [05/Oct/2017:16:51:44 +0300] "GET / HTTP/1.1" 200 3970 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0"
+192.168.122.18 - - [05/Oct/2017:16:51:44 +0300] "GET /bodyback.png HTTP/1.1" 200 15502 "http://192.168.122.18:8080/" "Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0"
+192.168.122.18 - - [05/Oct/2017:16:51:45 +0300] "GET /admin HTTP/1.1" 401 195 "http://192.168.122.18:8080/" "Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0"
+192.168.122.18 - admin [05/Oct/2017:16:51:50 +0300] "GET /admin HTTP/1.1" 200 32 "http://192.168.122.18:8080/" "Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0"
+192.168.122.18 - admin [05/Oct/2017:16:51:55 +0300] "GET /status HTTP/1.1" 200 128912 "http://192.168.122.18:8080/" "Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0"
+192.168.122.18 - admin [05/Oct/2017:16:51:55 +0300] "GET /status/format/json HTTP/1.1" 200 1914 "http://192.168.122.18:8080/status" "Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0"
+192.168.122.18 - admin [05/Oct/2017:16:51:56 +0300] "GET /status/format/json HTTP/1.1" 200 1938 "http://192.168.122.18:8080/status" "Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0"
+192.168.122.18 - admin [05/Oct/2017:16:55:46 +0300] "GET /pictures/01.gif HTTP/1.1" 200 40700 "http://192.168.122.18:8080/" "Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0"
+192.168.122.18 - admin [05/Oct/2017:17:08:06 +0300] "GET /pictures/01.jpg HTTP/1.1" 200 40700 "http://192.168.122.18:8080/" "Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0"
+192.168.122.18 - admin [05/Oct/2017:17:08:09 +0300] "GET /status HTTP/1.1" 200 128912 "http://192.168.122.18:8080/" "Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0"
+192.168.122.18 - admin [05/Oct/2017:17:08:09 +0300] "GET /status/format/json HTTP/1.1" 200 1840 "http://192.168.122.18:8080/status" "Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0"
+192.168.122.18 - admin [05/Oct/2017:17:08:10 +0300] "GET /status/format/json HTTP/1.1" 200 1866 "http://192.168.122.18:8080/status" "Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0"
+192.168.122.18 - admin [05/Oct/2017:17:10:50 +0300] "GET / HTTP/1.1" 304 0 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0"
+192.168.122.18 - admin [05/Oct/2017:17:10:50 +0300] "GET /bodyback.png HTTP/1.1" 304 0 "http://192.168.122.18:8080/" "Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0"
+192.168.122.18 - admin [05/Oct/2017:17:10:50 +0300] "GET / HTTP/1.1" 304 0 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0"
+192.168.122.18 - admin [05/Oct/2017:17:10:50 +0300] "GET /bodyback.png HTTP/1.1" 304 0 "http://192.168.122.18:8080/" "Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0"
+192.168.122.18 - admin [05/Oct/2017:17:11:02 +0300] "GET /fsdf HTTP/1.1" 404 29 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0"
diff --git a/logs/error.log b/logs/error.log
index d16e745..337c260 100644
--- a/logs/error.log
+++ b/logs/error.log
@@ -1,2 +1,48 @@
2017/10/05 14:43:01 [emerg] 14251#0: bind() to 0.0.0.0:80 failed (13: Permission denied)
2017/10/05 14:43:41 [error] 14262#0: *1 open() "/home/artsem_makhnach/nginx/html/favicon.ico" failed (2: No such file or directory), client: 127.0.0.1, server: localhost, request: "GET /favicon.ico HTTP/1.1", host: "127.0.0.1"
+2017/10/05 15:01:58 [error] 1149#0: *1 open() "/home/artsem_makhnach/nginx/html/favicon.ico" failed (2: No such file or directory), client: 127.0.0.1, server: localhost, request: "GET /favicon.ico HTTP/1.1", host: "localhost"
+2017/10/05 15:45:12 [error] 6822#0: *1 open() "/home/artsem_makhnach/nginx/html/favicon.ico" failed (2: No such file or directory), client: 192.168.122.18, server: 192.168.122.18, request: "GET /favicon.ico HTTP/1.1", host: "192.168.122.18:8080"
+2017/10/05 15:52:53 [error] 7355#0: *1 open() "/home/artsem_makhnach/nginx/html/pictures" failed (2: No such file or directory), client: 192.168.122.18, server: 192.168.122.18, request: "GET /pictures HTTP/1.1", host: "192.168.122.18:8080"
+2017/10/05 15:53:04 [error] 7355#0: *1 directory index of "/home/artsem_makhnach/nginx/html/resources/pictures/" is forbidden, client: 192.168.122.18, server: 192.168.122.18, request: "GET /resources/pictures/ HTTP/1.1", host: "192.168.122.18:8080"
+2017/10/05 15:53:59 [error] 7355#0: *1 open() "/home/artsem_makhnach/nginx/html/pictures/01.jpg" failed (2: No such file or directory), client: 192.168.122.18, server: 192.168.122.18, request: "GET /pictures/01.jpg HTTP/1.1", host: "192.168.122.18:8080", referrer: "http://192.168.122.18:8080/"
+2017/10/05 15:54:03 [error] 7355#0: *1 open() "/home/artsem_makhnach/nginx/html/admin" failed (2: No such file or directory), client: 192.168.122.18, server: 192.168.122.18, request: "GET /admin HTTP/1.1", host: "192.168.122.18:8080", referrer: "http://192.168.122.18:8080/"
+2017/10/05 15:54:05 [error] 7355#0: *1 open() "/home/artsem_makhnach/nginx/html/status" failed (2: No such file or directory), client: 192.168.122.18, server: 192.168.122.18, request: "GET /status HTTP/1.1", host: "192.168.122.18:8080", referrer: "http://192.168.122.18:8080/"
+2017/10/05 16:00:34 [emerg] 8029#0: invalid number of arguments in "try_files" directive in /home/artsem_makhnach/nginx/conf/nginx.conf:52
+2017/10/05 16:00:39 [emerg] 8050#0: invalid number of arguments in "try_files" directive in /home/artsem_makhnach/nginx/conf/nginx.conf:52
+2017/10/05 16:00:46 [emerg] 8086#0: invalid number of arguments in "try_files" directive in /home/artsem_makhnach/nginx/conf/nginx.conf:52
+2017/10/05 16:08:03 [emerg] 8643#0: invalid number of arguments in "try_files" directive in /home/artsem_makhnach/nginx/conf/nginx.conf:52
+2017/10/05 16:08:27 [emerg] 8732#0: invalid number of arguments in "try_files" directive in /home/artsem_makhnach/nginx/conf/nginx.conf:52
+2017/10/05 16:11:50 [error] 8907#0: *1 rewrite or internal redirection cycle while internally redirecting to "/pictures/01.jpg", client: 192.168.122.18, server: 192.168.122.18, request: "GET /pictures/01.jpg HTTP/1.1", host: "192.168.122.18:8080", referrer: "http://192.168.122.18:8080/"
+2017/10/05 16:11:54 [error] 8907#0: *2 rewrite or internal redirection cycle while internally redirecting to "/pictures/01.jpg", client: 192.168.122.18, server: 192.168.122.18, request: "GET /pictures/01.jpg HTTP/1.1", host: "192.168.122.18:8080", referrer: "http://192.168.122.18:8080/"
+2017/10/05 16:11:55 [error] 8907#0: *3 rewrite or internal redirection cycle while internally redirecting to "/pictures/01.jpg", client: 192.168.122.18, server: 192.168.122.18, request: "GET /pictures/01.jpg HTTP/1.1", host: "192.168.122.18:8080", referrer: "http://192.168.122.18:8080/"
+2017/10/05 16:11:56 [error] 8907#0: *4 rewrite or internal redirection cycle while internally redirecting to "/pictures/01.jpg", client: 192.168.122.18, server: 192.168.122.18, request: "GET /pictures/01.jpg HTTP/1.1", host: "192.168.122.18:8080", referrer: "http://192.168.122.18:8080/"
+2017/10/05 16:11:57 [error] 8907#0: *5 rewrite or internal redirection cycle while internally redirecting to "/pictures/01.jpg", client: 192.168.122.18, server: 192.168.122.18, request: "GET /pictures/01.jpg HTTP/1.1", host: "192.168.122.18:8080", referrer: "http://192.168.122.18:8080/"
+2017/10/05 16:11:58 [error] 8907#0: *6 rewrite or internal redirection cycle while internally redirecting to "/pictures/01.jpg", client: 192.168.122.18, server: 192.168.122.18, request: "GET /pictures/01.jpg HTTP/1.1", host: "192.168.122.18:8080", referrer: "http://192.168.122.18:8080/"
+2017/10/05 16:11:58 [error] 8907#0: *7 rewrite or internal redirection cycle while internally redirecting to "/pictures/01.jpg", client: 192.168.122.18, server: 192.168.122.18, request: "GET /pictures/01.jpg HTTP/1.1", host: "192.168.122.18:8080", referrer: "http://192.168.122.18:8080/"
+2017/10/05 16:11:59 [error] 8907#0: *8 rewrite or internal redirection cycle while internally redirecting to "/pictures/01.jpg", client: 192.168.122.18, server: 192.168.122.18, request: "GET /pictures/01.jpg HTTP/1.1", host: "192.168.122.18:8080", referrer: "http://192.168.122.18:8080/"
+2017/10/05 16:18:04 [error] 9096#0: *1 open() "/home/artsem_makhnach/nginx/html/status" failed (2: No such file or directory), client: 192.168.122.18, server: 192.168.122.18, request: "GET /status HTTP/1.1", host: "192.168.122.18:8080", referrer: "http://192.168.122.18:8080/"
+2017/10/05 16:18:07 [error] 9096#0: *1 open() "/home/artsem_makhnach/nginx/html/status" failed (2: No such file or directory), client: 192.168.122.18, server: 192.168.122.18, request: "GET /status HTTP/1.1", host: "192.168.122.18:8080", referrer: "http://192.168.122.18:8080/"
+2017/10/05 16:22:37 [error] 9186#0: *1 open() "/home/artsem_makhnach/nginx/html/status" failed (2: No such file or directory), client: 192.168.122.18, server: 192.168.122.18, request: "GET /status HTTP/1.1", host: "192.168.122.18:8080", referrer: "http://192.168.122.18:8080/"
+2017/10/05 16:22:41 [error] 9186#0: *1 open() "/home/artsem_makhnach/nginx/html/status" failed (2: No such file or directory), client: 192.168.122.18, server: 192.168.122.18, request: "GET /status HTTP/1.1", host: "192.168.122.18:8080", referrer: "http://192.168.122.18:8080/"
+2017/10/05 16:23:45 [error] 9186#0: *1 open() "/home/artsem_makhnach/nginx/html/pictures" failed (2: No such file or directory), client: 192.168.122.18, server: 192.168.122.18, request: "GET /pictures HTTP/1.1", host: "192.168.122.18:8080"
+2017/10/05 16:37:08 [emerg] 9408#0: "alias" directive is duplicate, "root" directive was specified earlier in /home/artsem_makhnach/nginx/conf/nginx.conf:65
+2017/10/05 16:38:07 [emerg] 9446#0: unknown directive "auth_basic_user" in /home/artsem_makhnach/nginx/conf/nginx.conf:66
+2017/10/05 16:42:17 [error] 9616#0: *1 open() "/home/artsem_makhnach/nginx/conf/conf/htpasswd" failed (2: No such file or directory), client: 192.168.122.18, server: 192.168.122.18, request: "GET /admin HTTP/1.1", host: "192.168.122.18:8080", referrer: "http://192.168.122.18:8080/"
+2017/10/05 16:42:45 [error] 9616#0: *1 open() "/home/artsem_makhnach/nginx/conf/conf/htpasswd" failed (2: No such file or directory), client: 192.168.122.18, server: 192.168.122.18, request: "GET /admin HTTP/1.1", host: "192.168.122.18:8080", referrer: "http://192.168.122.18:8080/"
+2017/10/05 16:42:46 [error] 9616#0: *1 open() "/home/artsem_makhnach/nginx/conf/conf/htpasswd" failed (2: No such file or directory), client: 192.168.122.18, server: 192.168.122.18, request: "GET /admin HTTP/1.1", host: "192.168.122.18:8080", referrer: "http://192.168.122.18:8080/"
+2017/10/05 16:42:47 [error] 9616#0: *1 open() "/home/artsem_makhnach/nginx/conf/conf/htpasswd" failed (2: No such file or directory), client: 192.168.122.18, server: 192.168.122.18, request: "GET /admin HTTP/1.1", host: "192.168.122.18:8080", referrer: "http://192.168.122.18:8080/"
+2017/10/05 16:43:10 [error] 9616#0: *2 open() "/home/artsem_makhnach/nginx/conf/conf/htpasswd" failed (2: No such file or directory), client: 192.168.122.18, server: 192.168.122.18, request: "GET /admin HTTP/1.1", host: "192.168.122.18:8080", referrer: "http://192.168.122.18:8080/"
+2017/10/05 16:44:18 [error] 9722#0: *1 open() "/home/artsem_makhnach/nginx/conf/conf/htpasswd" failed (2: No such file or directory), client: 192.168.122.18, server: 192.168.122.18, request: "GET /admin HTTP/1.1", host: "192.168.122.18:8080", referrer: "http://192.168.122.18:8080/"
+2017/10/05 16:44:32 [error] 9722#0: *1 open() "/home/artsem_makhnach/nginx/conf/conf/htpasswd" failed (2: No such file or directory), client: 192.168.122.18, server: 192.168.122.18, request: "GET /admin HTTP/1.1", host: "192.168.122.18:8080", referrer: "http://192.168.122.18:8080/"
+2017/10/05 16:44:35 [error] 9722#0: *1 open() "/home/artsem_makhnach/nginx/conf/conf/htpasswd" failed (2: No such file or directory), client: 192.168.122.18, server: 192.168.122.18, request: "GET /admin HTTP/1.1", host: "192.168.122.18:8080", referrer: "http://192.168.122.18:8080/"
+2017/10/05 16:44:41 [error] 9722#0: *1 open() "/home/artsem_makhnach/nginx/conf/conf/htpasswd" failed (2: No such file or directory), client: 192.168.122.18, server: 192.168.122.18, request: "GET /admin HTTP/1.1", host: "192.168.122.18:8080", referrer: "http://192.168.122.18:8080/"
+2017/10/05 16:44:43 [error] 9722#0: *1 open() "/home/artsem_makhnach/nginx/conf/conf/htpasswd" failed (2: No such file or directory), client: 192.168.122.18, server: 192.168.122.18, request: "GET /admin/ HTTP/1.1", host: "192.168.122.18:8080"
+2017/10/05 16:46:45 [error] 9802#0: *1 "/admin.html/index.html" is not found (2: No such file or directory), client: 192.168.122.18, server: 192.168.122.18, request: "GET /admin/ HTTP/1.1", host: "192.168.122.18:8080"
+2017/10/05 16:46:46 [error] 9802#0: *1 "/admin.html/index.html" is not found (2: No such file or directory), client: 192.168.122.18, server: 192.168.122.18, request: "GET /admin/ HTTP/1.1", host: "192.168.122.18:8080"
+2017/10/05 16:46:50 [error] 9802#0: *1 open() "/admin.html" failed (2: No such file or directory), client: 192.168.122.18, server: 192.168.122.18, request: "GET /admin HTTP/1.1", host: "192.168.122.18:8080", referrer: "http://192.168.122.18:8080/"
+2017/10/05 16:48:11 [error] 9850#0: *1 open() "/htpasswd" failed (2: No such file or directory), client: 192.168.122.18, server: 192.168.122.18, request: "GET /admin HTTP/1.1", host: "192.168.122.18:8080", referrer: "http://192.168.122.18:8080/"
+2017/10/05 16:49:14 [error] 9895#0: *1 open() "/admin.html" failed (2: No such file or directory), client: 192.168.122.18, server: 192.168.122.18, request: "GET /admin HTTP/1.1", host: "192.168.122.18:8080", referrer: "http://192.168.122.18:8080/"
+2017/10/05 16:49:33 [error] 9895#0: *1 open() "/admin.html" failed (2: No such file or directory), client: 192.168.122.18, server: 192.168.122.18, request: "GET /admin HTTP/1.1", host: "192.168.122.18:8080", referrer: "http://192.168.122.18:8080/"
+2017/10/05 16:49:47 [error] 9895#0: *2 open() "/admin.html" failed (2: No such file or directory), client: 192.168.122.18, server: 192.168.122.18, request: "GET /admin HTTP/1.1", host: "192.168.122.18:8080", referrer: "http://192.168.122.18:8080/"
+2017/10/05 16:51:00 [error] 9961#0: *1 open() "/admin.html" failed (2: No such file or directory), client: 192.168.122.18, server: 192.168.122.18, request: "GET /admin HTTP/1.1", host: "192.168.122.18:8080", referrer: "http://192.168.122.18:8080/"
+2017/10/05 17:11:02 [error] 10433#0: *1 open() "/home/artsem_makhnach/nginx/html/fsdf" failed (2: No such file or directory), client: 192.168.122.18, server: 192.168.122.18, request: "GET /fsdf HTTP/1.1", host: "192.168.122.18:8080"
diff --git a/logs/nginx.pid b/logs/nginx.pid
index 8deec40..74651e9 100644
--- a/logs/nginx.pid
+++ b/logs/nginx.pid
@@ -1 +1 @@
-14261
+10549