redirect from adam.id.au to adam.au
All checks were successful
Deploy / deploy (push) Successful in 29s
All checks were successful
Deploy / deploy (push) Successful in 29s
This commit is contained in:
10
Caddyfile
10
Caddyfile
@ -1,4 +1,4 @@
|
||||
adam.id.au {
|
||||
adam.au {
|
||||
root * /w/homepage/latest
|
||||
|
||||
import file-server-defaults
|
||||
@ -8,3 +8,11 @@ adam.id.au {
|
||||
import static-long-expiry
|
||||
}
|
||||
|
||||
adam.id.au {
|
||||
handle_path / {
|
||||
redir https://adam.au 301
|
||||
}
|
||||
|
||||
import ssl-cloudflare-dns
|
||||
import strict-transport-security
|
||||
}
|
||||
|
||||
2
deploy
2
deploy
@ -3,6 +3,6 @@
|
||||
set -e
|
||||
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
|
||||
DEPLOY_PATH=dist DEPLOY_PROJECT=homepage DEPLOY_CADDYFILE=Caddyfile node /tmp/client.mjs
|
||||
|
||||
@ -5,6 +5,7 @@
|
||||
<title>Adam Burgess</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="description" content="Software developer in Sydney, Australia">
|
||||
<link rel="canonical" href="https://adam.id.au" />
|
||||
<style>
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
|
||||
Reference in New Issue
Block a user