Skip to content

Instantly share code, notes, and snippets.

@shawon100
Created March 6, 2021 17:16
Show Gist options
  • Select an option

  • Save shawon100/eb09d071933a28692c7bf391c2ddc0ba to your computer and use it in GitHub Desktop.

Select an option

Save shawon100/eb09d071933a28692c7bf391c2ddc0ba to your computer and use it in GitHub Desktop.
server {
listen 80;
location / {
root /usr/share/nginx/html;
index index.html index.htm;
try_files $uri $uri/ /index.html =404;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment