Summary Files Commits Branches @commit @diff @stats
path: root / syndamiadotcom
diff options
context:
space:
mode:
1 files changed, 0 insertions, 24 deletions
-rw-r--r--syndamiadotcom24
diff --git a/syndamiadotcom b/syndamiadotcom
deleted file mode 100644
index 10a20ca..0000000
--- a/syndamiadotcom
+++ /dev/null
@@ -1,24 +0,0 @@
-# NGINX configuration file for the website
-server {
- listen 443 ssl;
- root /var/www/syndamiadotcom/website;
- index index.html;
- server_name www.syndamia.com;
-
- ssl_certificate /etc/letsencrypt/live/www.syndamia.com/fullchain.pem;
- ssl_certificate_key /etc/letsencrypt/live/www.syndamia.com/privkey.pem;
-
- # This removes .html extension from url (https://stackoverflow.com/a/38238001/12036073)
- location / {
- if ($request_uri ~ ^/(.*)\.html$) {
- return 302 /$1;
- }
- try_files $uri $uri.html $uri/ =404;
- }
-}
-
-server {
- listen 80;
- server_name www.syndamia.com;
- return 301 https://$server_name$request_uri;
-}