Skip to content

Instantly share code, notes, and snippets.

@yasriady
Last active July 16, 2024 07:51
Show Gist options
  • Save yasriady/29b43f2e6815735126c0760c001d18a1 to your computer and use it in GitHub Desktop.
Save yasriady/29b43f2e6815735126c0760c001d18a1 to your computer and use it in GitHub Desktop.
server {
listen 443 ssl;
server_name _;
root /var/www/example.com;
index index.html;
location / {
try_files $uri $uri/ =404;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment