redirect from adam.id.au to adam.au
All checks were successful
Deploy / deploy (push) Successful in 29s

This commit is contained in:
2025-12-30 22:13:58 +11:00
parent 7a087b4c33
commit 2f498f1e08
3 changed files with 11 additions and 2 deletions

View File

@ -1,4 +1,4 @@
adam.id.au { adam.au {
root * /w/homepage/latest root * /w/homepage/latest
import file-server-defaults import file-server-defaults
@ -8,3 +8,11 @@ adam.id.au {
import static-long-expiry import static-long-expiry
} }
adam.id.au {
handle_path / {
redir https://adam.au 301
}
import ssl-cloudflare-dns
import strict-transport-security
}

2
deploy
View File

@ -3,6 +3,6 @@
set -e set -e
set -x set -x
rm -rf dist && nr build rm -rf dist && nrr build
curl -s https://deploy.adam.id.au:4443/client.mjs > /tmp/client.mjs curl -s https://deploy.adam.id.au:4443/client.mjs > /tmp/client.mjs
DEPLOY_PATH=dist DEPLOY_PROJECT=homepage DEPLOY_CADDYFILE=Caddyfile node /tmp/client.mjs DEPLOY_PATH=dist DEPLOY_PROJECT=homepage DEPLOY_CADDYFILE=Caddyfile node /tmp/client.mjs

View File

@ -5,6 +5,7 @@
<title>Adam Burgess</title> <title>Adam Burgess</title>
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="Software developer in Sydney, Australia"> <meta name="description" content="Software developer in Sydney, Australia">
<link rel="canonical" href="https://adam.id.au" />
<style> <style>
* { * {
box-sizing: border-box; box-sizing: border-box;