diff --git a/404.html b/404.html index 3a16ab5..b8e2487 100644 --- a/404.html +++ b/404.html @@ -1,25 +1,56 @@ ---- -permalink: /404.html -layout: page ---- + + + + The page you were looking for doesn't exist (404) + + + - - -
-

404

- -

Page not found :(

-

The requested page could not be found.

-
+ + + + +
+

404

+

The page you were looking for doesn't exist.

+

You may have mistyped the address or the page may have moved.

+
+ + \ No newline at end of file diff --git a/_config.yml b/_config.yml index d7d92f5..d3c980d 100644 --- a/_config.yml +++ b/_config.yml @@ -50,6 +50,7 @@ url: "" # the base hostname & protocol for your site, e.g. http://example.com exclude: - Readme.txt + - config/ defaults: - diff --git a/config/nginx.conf b/config/nginx.conf new file mode 100644 index 0000000..6b308b0 --- /dev/null +++ b/config/nginx.conf @@ -0,0 +1,42 @@ +# http > https +server { + listen 80; + server_name ikea-foundation-dice.onc.dk; + + root /home/mattias/www/ikea-foundation-dice/public; + + # Lets encrypt + location ~ /.well-known { + allow all; + } + + location / { + return 301 https://ikea-foundation-dice.onc.dk$request_uri; + } +} + + + +# # https +# server { +# listen 443 ssl; +# http2 on; +# +# server_name ikea-foundation-dice.onc.dk; +# +# ssl_certificate /etc/letsencrypt/live/ikea-foundation-dice.onc.dk/fullchain.pem; # managed by Certbot +# ssl_certificate_key /etc/letsencrypt/live/ikea-foundation-dice.onc.dk/privkey.pem; # managed by Certbot +# include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot +# ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot +# +# root /home/mattias/www/ikea-foundation-dice/public; +# index index.html; +# +# access_log /home/mattias/www/ikea-foundation-dice/log/httpd-access.log; +# error_log /home/mattias/www/ikea-foundation-dice/log/httpd-errors.log; +# +# +# location / { +# try_files $uri $uri/ =404; +# } +# } \ No newline at end of file