1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
worker_processes auto;
pid /app/tmp/nginx.pid;
daemon off;
events {
worker_connections 1024;
use epoll;
}
http {
include /app/conf/mime.types;
default_type application/octet-stream;
access_log /app/log/access.log combined;
error_log /app/log/error.log error;
client_body_temp_path /app/tmp/client_body_temp;
proxy_temp_path /app/tmp/poxy_temp;
sendfile on;
keepalive_timeout 15;
keepalive_disable msie6;
keepalive_requests 100;
tcp_nopush on;
tcp_nodelay off;
server_tokens off;
server {
listen 8080;
server_name default;
port_in_redirect off;
root /app/www;
index index.html;
location ~ ^/(suggestions|journeys|moreJourneys|refreshJourney) {
proxy_pass http://oeffisearch:8081;
}
}
}