Skip to content

Instantly share code, notes, and snippets.

View npthao1312's full-sized avatar

Thao Nguyen Phuong npthao1312

View GitHub Profile
@npthao1312
npthao1312 / README.md
Created August 18, 2016 11:28 — forked from jxson/README.md
README.md template

Synopsis

At the top of the file there should be a short introduction and/ or overview that explains what the project is. This description should match descriptions added for package managers (Gemspec, package.json, etc.)

Code Example

Show what the library does as concisely as possible, developers should be able to figure out how your project solves their problem by looking at the code example. Make sure the API you are showing off is obvious, and that your code is short and concise.

Motivation

@npthao1312
npthao1312 / nginxconfig
Created December 25, 2020 19:04
Nginx config file to run ReactJS app and Spring Boot app separately in the same domain
server {
listen 80;
server_name ip example.com www.example.com;
# note that I don't use https
# serves front end reactjs app
location / {
root /home/user/react-folder/build;
index index.html index.htm;
try_files $uri $uri/ /index.html =404;
}