::1 - - [10/Jan/2018:23:36:07 +0300] "GET /css/style.css HTTP/1.1" 404 199 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36"
::1 - - [10/Jan/2018:23:36:08 +0300] "GET /css/style.css HTTP/1.1" 404 199 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36"
::1 - - [10/Jan/2018:23:36:08 +0300] "GET /css/style.css HTTP/1.1" 404 199 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36"
::1 - - [10/Jan/2018:23:36:08 +0300] "GET /css/style.css HTTP/1.1" 404 199 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36"
::1 - - [10/Jan/2018:23:37:21 +0300] "GET /img/mem.jpg HTTP/1.1" 404 199 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36"
::1 - - [10/Jan/2018:23:41:05 +0300] "GET /img/mem.jpg HTTP/1.1" 404 199 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36"
::1 - - [10/Jan/2018:23:41:05 +0300] "GET /img/mem.jpg HTTP/1.1" 404 199 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36"
::1 - - [10/Jan/2018:23:41:12 +0300] "GET /js/ma.js HTTP/1.1" 404 199 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36"
::1 - - [10/Jan/2018:23:43:57 +0300] "GET /js/ma.js HTTP/1.1" 404 199 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36"
::1 - - [10/Jan/2018:23:55:16 +0300] "GET /upload/hello.html HTTP/1.1" 404 199 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36"
nikita@ASCII:~/projects/Course/stepik_web/web/public$ tree /etc/nginx/
/etc/nginx/
├── conf.d
│ └── nginx_ubuntu.conf
├── fastcgi.conf
├── fastcgi_params
├── koi-utf
├── koi-win
├── mime.types
├── modules-available
├── modules-enabled
│ ├── 50-mod-http-auth-pam.conf -> /usr/share/nginx/modules-available/mod-http-auth-pam.conf
│ ├── 50-mod-http-dav-ext.conf -> /usr/share/nginx/modules-available/mod-http-dav-ext.conf
│ ├── 50-mod-http-echo.conf -> /usr/share/nginx/modules-available/mod-http-echo.conf
│ ├── 50-mod-http-geoip.conf -> /usr/share/nginx/modules-available/mod-http-geoip.conf
│ ├── 50-mod-http-image-filter.conf -> /usr/share/nginx/modules-available/mod-http-image-filter.conf
│ ├── 50-mod-http-subs-filter.conf -> /usr/share/nginx/modules-available/mod-http-subs-filter.conf
│ ├── 50-mod-http-upstream-fair.conf -> /usr/share/nginx/modules-available/mod-http-upstream-fair.conf
│ ├── 50-mod-http-xslt-filter.conf -> /usr/share/nginx/modules-available/mod-http-xslt-filter.conf
│ ├── 50-mod-mail.conf -> /usr/share/nginx/modules-available/mod-mail.conf
│ └── 50-mod-stream.conf -> /usr/share/nginx/modules-available/mod-stream.conf
├── nginx.conf
├── proxy_params
├── scgi_params
├── sites-available
│ └── default
├── sites-enabled
│ └── default -> /etc/nginx/sites-available/default
├── snippets
│ ├── fastcgi-php.conf
│ └── snakeoil.conf
├── uwsgi_params
└── win-utf
6 directories, 25 files
include /home/nikita/projects/Course/stepik_web/web/etc/nginx_ubuntu.conf;
server {
listen 80;
server_name localhost;
#charset koi8-r;
access_log /home/nikita/projects/Course/stepik_web/log/nginx.access_log combined;
error_log /home/nikita/projects/Course/stepik_web/log/nginx.error_log info;
location ^~ /uploads/ {
root /home/nikita/projects/Course/stepik_web/web/;
}
location ~* \.\w+$ {
root /home/nikita/projects/Course/stepik_web/web/public/;
}
}
nikita@ASCII:~$ ls -l /etc/nginx/
total 64
drwxr-xr-x 2 root root 4096 июл 13 02:47 conf.d
-rw-r--r-- 1 root root 1077 июл 13 02:38 fastcgi.conf
-rw-r--r-- 1 root root 1007 июл 13 02:38 fastcgi_params
-rw-r--r-- 1 root root 2837 июл 13 02:38 koi-utf
-rw-r--r-- 1 root root 2223 июл 13 02:38 koi-win
-rw-r--r-- 1 root root 3957 июл 13 02:38 mime.types
drwxr-xr-x 2 root root 4096 июл 13 02:47 modules-available
drwxr-xr-x 2 root root 4096 янв 9 18:16 modules-enabled
-rw-r--r-- 1 root root 1584 янв 10 19:01 nginx.conf
-rw-r--r-- 1 root root 180 июл 13 02:38 proxy_params
-rw-r--r-- 1 root root 636 июл 13 02:38 scgi_params
drwxr-xr-x 2 root root 4096 янв 9 18:16 sites-available
drwxr-xr-x 2 root root 4096 янв 10 00:05 sites-enabled
drwxr-xr-x 2 root root 4096 янв 9 18:16 snippets
-rw-r--r-- 1 root root 664 июл 13 02:38 uwsgi_params
-rw-r--r-- 1 root root 3071 июл 13 02:38 win-utf
nikita@ASCII:~$ tree /etc/nginx/
/etc/nginx/
├── conf.d
├── fastcgi.conf
├── fastcgi_params
├── koi-utf
├── koi-win
├── mime.types
├── modules-available
├── modules-enabled
│ ├── 50-mod-http-auth-pam.conf -> /usr/share/nginx/modules-available/mod-http-auth-pam.conf
│ ├── 50-mod-http-dav-ext.conf -> /usr/share/nginx/modules-available/mod-http-dav-ext.conf
│ ├── 50-mod-http-echo.conf -> /usr/share/nginx/modules-available/mod-http-echo.conf
│ ├── 50-mod-http-geoip.conf -> /usr/share/nginx/modules-available/mod-http-geoip.conf
│ ├── 50-mod-http-image-filter.conf -> /usr/share/nginx/modules-available/mod-http-image-filter.conf
│ ├── 50-mod-http-subs-filter.conf -> /usr/share/nginx/modules-available/mod-http-subs-filter.conf
│ ├── 50-mod-http-upstream-fair.conf -> /usr/share/nginx/modules-available/mod-http-upstream-fair.conf
│ ├── 50-mod-http-xslt-filter.conf -> /usr/share/nginx/modules-available/mod-http-xslt-filter.conf
│ ├── 50-mod-mail.conf -> /usr/share/nginx/modules-available/mod-mail.conf
│ └── 50-mod-stream.conf -> /usr/share/nginx/modules-available/mod-stream.conf
├── nginx.conf
├── proxy_params
├── scgi_params
├── sites-available
│ └── default
├── sites-enabled
│ └── default -> /etc/nginx/sites-available/default
├── snippets
│ ├── fastcgi-php.conf
│ └── snakeoil.conf
├── uwsgi_params
└── win-utf
6 directories, 24 files
2018/01/09 23:08:28 [emerg] 25291#25291: a duplicate default server for 0.0.0.0:80 in /etc/nginx/nginx.conf:66
2018/01/09 23:08:44 [emerg] 25341#25341: a duplicate default server for 0.0.0.0:80 in /etc/nginx/nginx.conf:66
2018/01/09 23:09:31 [emerg] 25440#25440: a duplicate default server for 0.0.0.0:80 in /etc/nginx/nginx.conf:66
2018/01/09 23:13:59 [emerg] 25682#25682: a duplicate default server for 0.0.0.0:80 in /etc/nginx/nginx.conf:66
2018/01/09 23:14:48 [emerg] 25791#25791: a duplicate default server for 0.0.0.0:80 in /etc/nginx/nginx.conf:66
2018/01/09 23:15:51 [emerg] 1321#1321: a duplicate default server for 0.0.0.0:80 in /etc/nginx/nginx.conf:66
2018/01/09 23:17:37 [emerg] 2959#2959: a duplicate default server for 0.0.0.0:80 in /etc/nginx/nginx.conf:66
2018/01/09 23:20:31 [emerg] 3372#3372: a duplicate default server for 0.0.0.0:80 in /etc/nginx/nginx.conf:66
2018/01/09 23:22:29 [emerg] 3488#3488: a duplicate default server for 0.0.0.0:80 in /etc/nginx/nginx.conf:66
2018/01/09 23:23:43 [emerg] 3528#3528: a duplicate default server for 0.0.0.0:80 in /etc/nginx/nginx.conf:66
2018/01/10 19:05:47 [emerg] 12403#12403: unknown directive "fehr" in /home/nikita/projects/Course/stepik_web/web/etc/nginx_ubuntu.conf:8