6 #access_log /var/log/nginx/host.access.log main;
9 root /usr/share/nginx/html;
10 index index.html index.htm;
13 location /engine-rest/ {
14 proxy_pass http://camunda:8085;
15 client_max_body_size 1024M;
16 proxy_set_header Connection "";
17 proxy_set_header Host $http_host;
18 proxy_set_header X-Real-IP $remote_addr;
19 proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
20 proxy_set_header X-Forwarded-Proto $scheme;
21 proxy_set_header X-Frame-Options SAMEORIGIN;
22 proxy_buffers 256 16k;
23 proxy_buffer_size 16k;
24 proxy_read_timeout 600s;
25 proxy_cache_revalidate on;
26 proxy_cache_min_uses 2;
27 proxy_cache_use_stale timeout;
31 #error_page 404 /404.html;
33 # redirect server error pages to the static page /50x.html
35 error_page 500 502 503 504 /50x.html;
36 location = /50x.html {
37 root /usr/share/nginx/html;
40 # proxy the PHP scripts to Apache listening on 127.0.0.1:80
43 # proxy_pass http://127.0.0.1;
46 # pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000
50 # fastcgi_pass 127.0.0.1:9000;
51 # fastcgi_index index.php;
52 # fastcgi_param SCRIPT_FILENAME /scripts$fastcgi_script_name;
53 # include fastcgi_params;
56 # deny access to .htaccess files, if Apache's document root
57 # concurs with nginx's one