Skip to content

Instantly share code, notes, and snippets.

@grrywlsn
Last active August 29, 2015 14:09
Show Gist options
  • Save grrywlsn/d54f2b1fe79abffd8c42 to your computer and use it in GitHub Desktop.
Save grrywlsn/d54f2b1fe79abffd8c42 to your computer and use it in GitHub Desktop.
Example Nginx vhost for Atlas
server {
listen *:80 default_server;
server_name _;
resolver 127.0.0.1;
resolver_timeout 10s;
access_log /var/log/nginx/atlas-access.log;
error_log /var/log/nginx/atlas-error.log;
set $jetty_backend "http://localhost:8080";
proxy_pass $jetty_backend;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment