#user nobody; worker_processes 1; events { worker_connections 1024; } http { include mime.types; default_type application/octet-stream; sendfile on; #tcp_nopush on; keepalive_timeout 65; #gzip on; server { listen 80; server_name localhost; #resolver 114.114.114.114 charset utf-8; #access_log /usr/share/nginx/logs/host.access.log; location /rest/diagnosis { proxy_pass http://diagnosis:8080/; } location / { root /usr/share/nginx/html; index index.html; } } }