Skip to content

Instantly share code, notes, and snippets.

@shibby
Created January 6, 2016 22:24
Show Gist options
  • Save shibby/450e32d7a5a2ef86904d to your computer and use it in GitHub Desktop.
Save shibby/450e32d7a5a2ef86904d to your computer and use it in GitHub Desktop.
server {
listen 80;
listen 443 ssl;
ssl_certificate /etc/letsencrypt/live/guven.atbakan.com/cert.pem;
ssl_certificate_key /etc/letsencrypt/live/guven.atbakan.com/privkey.pem;
server_name guven.atbakan.com www.guven.atbakan.com;
root /var/www/guvenatbakan.com/web/blog;
location / {
index index.php index.html index.htm;
try_files $uri $uri/ /index.php?$args;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment