File tree 2 files changed +9
-8
lines changed
2 files changed +9
-8
lines changed Original file line number Diff line number Diff line change
1
+ .PHONY : test
2
+
3
+ test :
4
+ docker-compose --file docker-compose.test.yml build
5
+ docker-compose --file docker-compose.test.yml run sut
Original file line number Diff line number Diff line change 2
2
# * Official English Documentation: http://nginx.org/en/docs/
3
3
# * Official Russian Documentation: http://nginx.org/ru/docs/
4
4
5
- user nginx ;
5
+ user nobody ;
6
6
worker_processes auto;
7
7
8
8
error_log /dev/stderr debug ;
@@ -18,14 +18,14 @@ events {
18
18
}
19
19
20
20
http {
21
- include /etc/nginx/ mime.types;
21
+ include mime.types;
22
22
default_type application/octet-stream;
23
23
24
24
log_format main '$remote_addr - $remote_user [$time_local ] "$request " '
25
25
'$status $body_bytes_sent "$http_referer " '
26
26
'"$http_user_agent " "$http_x_forwarded_for "' ;
27
27
28
- access_log /var/log /nginx/access.log main ;
28
+ access_log /usr/local /nginx/logs /access.log main ;
29
29
30
30
sendfile on ;
31
31
tcp_nopush on ;
@@ -40,15 +40,11 @@ http {
40
40
# Load modular configuration files from the /etc/nginx/conf.d directory.
41
41
# See http://nginx.org/en/docs/ngx_core_module.html#include
42
42
# for more information.
43
- include /etc/nginx/conf.d/*.conf;
43
+ # include /etc/nginx/conf.d/*.conf;
44
44
45
45
index index.html index.htm;
46
46
47
47
server {
48
- pagespeed on;
49
- # Needs to exist and be writable by nginx. Use tmpfs for best performance.
50
- pagespeed FileCachePath /var/cache;
51
-
52
48
listen 80 ;
53
49
server_name localhost;
54
50
root /usr/share/nginx/html;
You can’t perform that action at this time.
0 commit comments