server {
	listen 80;
	server_name example.org;

    location / {
        proxy_pass http://localhost:3001;
        proxy_http_version 1.1;
        proxy_set_header Upgrade $http_upgrade;
        proxy_set_header Connection 'upgrade';
        proxy_set_header Host $host;
        proxy_cache_bypass $http_upgrade;
    }

    server_tokens off;
    add_header X-Frame-Options "DENY";

	error_log /tmp/react-error.log;
	access_log /tmp/react-access.log combined;
	# TODO: add ssl configs
}
