oeffisearch/docker/nginx.conf
2020-02-07 22:45:41 +00:00

43 lines
746 B
Nginx Configuration File

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;
}
}
}