Skip to content

Instantly share code, notes, and snippets.

@goors
Last active May 26, 2022 13:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save goors/d1d6fb3c51e98bb399bbcbe8cfaa9b8f to your computer and use it in GitHub Desktop.
Save goors/d1d6fb3c51e98bb399bbcbe8cfaa9b8f to your computer and use it in GitHub Desktop.
server {
listen 80;
listen [::]:80;
root /usr/share/nginx/html;
index index.html index.htm index.nginx-debian.html;
server_name localhost;
location / {
try_files $uri $uri/ /index.html;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment