Last active
July 30, 2020 22:47
-
-
Save gaboelnuevo/3cfadcfe27d01020a344a2584a75fcdc to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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