aboutsummaryrefslogtreecommitdiff
path: root/src/core/ngx_config.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/ngx_config.h')
-rw-r--r--src/core/ngx_config.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/core/ngx_config.h b/src/core/ngx_config.h
index 4d7f86d59..3621f8cf8 100644
--- a/src/core/ngx_config.h
+++ b/src/core/ngx_config.h
@@ -32,6 +32,13 @@
#endif
+#ifndef NGX_SERVER_ROOT
+#define NGX_SERVER_ROOT "./"
+#if 0
+#define NGX_SERVER_ROOT "/usr/local/nginx/"
+#endif
+#endif
+
#if !(WIN32)