Skip to content

Instantly share code, notes, and snippets.

@saissemet
Created November 20, 2020 10:08
Show Gist options
  • Save saissemet/6e41e5c3bae4a42bf7444924a3280707 to your computer and use it in GitHub Desktop.
Save saissemet/6e41e5c3bae4a42bf7444924a3280707 to your computer and use it in GitHub Desktop.
server {
listen 443 ssl;
listen [::]:443 ssl;
server_name ec2-54-152-84-236.compute-1.amazonaws.com;
ssl_certificate /etc/ssl/certs/ec2-54-211-232-203.compute-1.amazonaws.com.crt;
ssl_certificate_key /etc/ssl/private/ec2-54-211-232-203.compute-1.amazonaws.com.key;
root /var/www/htmls;
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