[code language=”bash”]
server {
listen 80;
server_name mydomain.com;
location /{
root /home/ubuntu/site/public;
index index.html
try_files $uri/index.html $uri;
}
}
[/code]