Skip to content

Instantly share code, notes, and snippets.

@gaboelnuevo
Last active July 30, 2020 22:47
Show Gist options
  • Save gaboelnuevo/3cfadcfe27d01020a344a2584a75fcdc to your computer and use it in GitHub Desktop.
Save gaboelnuevo/3cfadcfe27d01020a344a2584a75fcdc to your computer and use it in GitHub Desktop.
server {
listen 80;
root /var/www/react-app/build;
index index.html index.htm index.nginx-debian.html;
server_name your_server_ip_or_domain;
location / {
try_files $uri /index.html;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment