"worker_processes" directive is not allowed nginx
A simple solution that worked for me.
Just add server
section in the ngnix.conf and remove all the content like
server { listen 80; location / { root /usr/share/nginx/html; index index.html index.htm; } location /akka { proxy_pass http://hello-akka; } location /assets { root /var/www; } }