public
Fork of defunkt/nginx_config_generator
Description: Generates nginx config files from YAML.
Homepage: http://errtheblog.com/posts/52-nginx-config-like-whoa
Clone URL: git://github.com/bmizerany/nginx_config_generator.git
setup for my server
Blake Mizerany (author)
Tue Apr 01 19:43:54 -0700 2008
commit  fc9f3107ae0ec816ed173fa33fbf801617c51803
tree    9bdd3dfada50b03896550d4fdf935d2127308826
parent  b66f6714618f6079b493afba9b64008879694a3a
...
18
19
20
21
 
22
23
24
...
30
31
32
33
34
 
 
35
36
37
...
18
19
20
 
21
22
23
24
...
30
31
32
 
 
33
34
35
36
37
0
@@ -18,7 +18,7 @@ events {
0
 http {
0
   # pull in mime-types. You can break out your config
0
   # into as many include's as you want to make it cleaner
0
- include conf/mime.types;
0
+ include /etc/nginx/mime.types;
0
 
0
   # set a default type for the rare situation that
0
   # nothing matches from the mimie-type include
0
@@ -30,8 +30,8 @@ http {
0
                     '"$http_user_agent" "http_x_forwarded_for"';
0
 
0
   # main access log
0
- access_log logs/access.log main;
0
-
0
+ access_log /var/log/nginx/access.log;
0
+
0
   # main error log
0
   error_log logs/error.log debug;
0
   #error_log logs/error.log debug_http;

Comments

    No one has commented yet.