Skip to content

Instantly share code, notes, and snippets.

@dalthonmh
Created March 10, 2022 00:06
Show Gist options
  • Save dalthonmh/00529997dc820272d1e41f6d2c886899 to your computer and use it in GitHub Desktop.
Save dalthonmh/00529997dc820272d1e41f6d2c886899 to your computer and use it in GitHub Desktop.
server {
listen 80;
listen [::]:80;
server_name _;
root /var/www/dist;
index index.html;
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