2020-02-07 23:23:46 +01:00
|
|
|
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;
|
|
|
|
|
2020-02-07 23:45:41 +01:00
|
|
|
location ~ ^/(suggestions|journeys|moreJourneys|refreshJourney) {
|
2020-02-07 23:23:46 +01:00
|
|
|
proxy_pass http://oeffisearch:8081;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|