| @ -1,25 +1,56 @@ | |||||
| --- | |||||
| permalink: /404.html | |||||
| layout: page | |||||
| --- | |||||
| <!doctype html> | |||||
| <html lang="en"> | |||||
| <head> | |||||
| <title>The page you were looking for doesn't exist (404)</title> | |||||
| <meta charset="utf-8"> | |||||
| <meta name="viewport" content="width=device-width,initial-scale=1"> | |||||
| <meta name="robots" content="noindex, nofollow"> | |||||
| <style type="text/css" media="screen"> | |||||
| .container { | |||||
| margin: 10px auto; | |||||
| max-width: 600px; | |||||
| text-align: center; | |||||
| } | |||||
| h1 { | |||||
| margin: 30px 0; | |||||
| font-size: 4em; | |||||
| line-height: 1; | |||||
| letter-spacing: -1px; | |||||
| } | |||||
| </style> | |||||
| <div class="container"> | |||||
| <h1>404</h1> | |||||
| <p><strong>Page not found :(</strong></p> | |||||
| <p>The requested page could not be found.</p> | |||||
| </div> | |||||
| <style> | |||||
| body { | |||||
| background-color: #F0B902; | |||||
| color: #000; | |||||
| text-align: center; | |||||
| font-family: system-ui, sans-serif; | |||||
| margin: 0; | |||||
| display: flex; | |||||
| justify-content: center; | |||||
| align-items: center; | |||||
| } | |||||
| body { | |||||
| min-height: 100dvh; | |||||
| } | |||||
| h2 { | |||||
| margin: 0; | |||||
| font-size: 400px; | |||||
| line-height: 1; | |||||
| position: absolute; | |||||
| top: -0.4em; | |||||
| left: -0.08em; | |||||
| opacity: 0.4; | |||||
| font-weight: 700; | |||||
| } | |||||
| h1 { | |||||
| margin: 0; | |||||
| font-size: 2em; | |||||
| font-weight: 300; | |||||
| } | |||||
| p { | |||||
| margin: 1em 0; | |||||
| } | |||||
| </style> | |||||
| </head> | |||||
| <body> | |||||
| <div> | |||||
| <h2>404</h2> | |||||
| <h1>The page you were looking for doesn't exist.</h1> | |||||
| <p>You may have mistyped the address or the page may have moved.</p> | |||||
| </div> | |||||
| </body> | |||||
| </html> | |||||
| @ -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; | |||||
| # } | |||||
| # } | |||||