summaryrefslogtreecommitdiffstats
path: root/mod/genprocessor/nginx.conf
diff options
context:
space:
mode:
Diffstat (limited to 'mod/genprocessor/nginx.conf')
-rw-r--r--mod/genprocessor/nginx.conf22
1 files changed, 22 insertions, 0 deletions
diff --git a/mod/genprocessor/nginx.conf b/mod/genprocessor/nginx.conf
new file mode 100644
index 0000000..bd53c07
--- /dev/null
+++ b/mod/genprocessor/nginx.conf
@@ -0,0 +1,22 @@
+server {
+ listen 80;
+ server_name localhost;
+
+ location / {
+ root /usr/share/nginx/html;
+ index index.html index.htm;
+ }
+
+ # redirect server error pages to the static page /50x.html
+ #
+ error_page 500 502 503 504 /50x.html;
+ location = /50x.html {
+ root /usr/share/nginx/html;
+ }
+
+ location /nifi-jars {
+ root /www/data;
+ autoindex on;
+ autoindex_format json;
+ }
+}