rust/cargo-c: update to 0.10.7+cargo-0.84.0
[oi-userland.git] / components / web / nginx / patches / nginx_conf.patch
blob96ad99d25875eac4558c597f90d066f5da2bad33
1 --- nginx-1.11.6/conf/nginx.conf.~1~ 2016-11-15 18:11:46.000000000 +0300
2 +++ nginx-1.11.6/conf/nginx.conf 2016-12-08 21:06:07.786872721 +0300
3 @@ -1,10 +1,10 @@
5 -#user nobody;
6 +#user webservd;
7 worker_processes 1;
9 -#error_log logs/error.log;
10 -#error_log logs/error.log notice;
11 -#error_log logs/error.log info;
12 +#error_log /var/nginx/logs/error.log;
13 +#error_log /var/nginx/logs/error.log notice;
14 +#error_log /var/nginx/logs/error.log info;
16 #pid logs/nginx.pid;
18 @@ -22,7 +22,7 @@
19 # '$status $body_bytes_sent "$http_referer" '
20 # '"$http_user_agent" "$http_x_forwarded_for"';
22 - #access_log logs/access.log main;
23 + #access_log /var/nginx/logs/access.log main;
25 sendfile on;
26 #tcp_nopush on;
27 @@ -38,10 +38,10 @@
29 #charset koi8-r;
31 - #access_log logs/host.access.log main;
32 + #access_log /var/nginx/logs/host.access.log main;
34 location / {
35 - root html;
36 + root /usr/share/nginx/html;
37 index index.html index.htm;
40 @@ -51,7 +51,7 @@
42 error_page 500 502 503 504 /50x.html;
43 location = /50x.html {
44 - root html;
45 + root /usr/share/nginx/html;
48 # proxy the PHP scripts to Apache listening on 127.0.0.1:80
49 @@ -63,7 +63,7 @@
50 # pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000
52 #location ~ \.php$ {
53 - # root html;
54 + # root /usr/share/nginx/html;
55 # fastcgi_pass 127.0.0.1:9000;
56 # fastcgi_index index.php;
57 # fastcgi_param SCRIPT_FILENAME /scripts$fastcgi_script_name;
58 @@ -87,7 +87,7 @@
59 # server_name somename alias another.alias;
61 # location / {
62 - # root html;
63 + # root /usr/share/nginx/html;
64 # index index.html index.htm;
65 # }
67 @@ -109,7 +109,7 @@
68 # ssl_prefer_server_ciphers on;
70 # location / {
71 - # root html;
72 + # root /usr/share/nginx/html;
73 # index index.html index.htm;
74 # }