1 Commits

Author SHA1 Message Date
renovate[bot]
7468f0efa4 Update peaceiris/actions-hugo action to v3 2025-04-26 22:09:45 +00:00
7 changed files with 68 additions and 18 deletions

View File

@@ -29,7 +29,7 @@ jobs:
cache-dependency-path: "**/package-lock.json"
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
uses: peaceiris/actions-hugo@v3
with:
hugo-version: "0.120.3"
extended: true

View File

@@ -21,10 +21,8 @@ The only app I've needed to install has been Tailscale which has enabled me to a
More recently, to reduce cloud costs, I've setup some a small node at another physical location and installed both Tailscale and [sftpgo](https://github.com/drakkan/sftpgo) on it to facilitate offsite backups. After setting up the infrastructure and adding a Cloud Sync Task in TrueNAS SCALE to replicate these backups offsite to sftpgo, I noticed that Tailscale's Magic DNS was not working, nor was the Tailscale IPv4 address.
After reading the [Tailscale docs](https://tailscale.com/kb/1483/truenas#route-non-tailnet-traffic-through-truenas) , it became clear that the **Userspace** box had to be unchecked in the Tailscale app settings. This is because the Tailscale app is running within a docker container on the TrueNAS SCALE VM. After unchecking the **Userspace** box, I was able to verify that the Backup Credentials created for sftpgo worked when specifying the host as a Tailscale IPv4 address. This was probably good enough since the IP won't change unless the node is re-registered.
After reading the [Tailscale docs](https://tailscale.com/kb/1483/truenas#route-non-tailnet-traffic-through-truenas) , it became clear that the **Userspace** box had to be unchecked in the Tailscale app settings. This is because the Tailscale app is running within a docker container on the TrueNAS SCALE VM. After unchecking the **Userspace** box, I was able to verify that the Backup Credentials created for sftpgo worked when specifying the host as a Tailscale IPv4 address. This was probably good enough since the IP won't change unless the node is re-registered, but I figured setting up MagicDNS would make the setup more portable.
~~To get MagicDNS working, I went to Network > Global Configuration and set "Nameserver 1" to **100.100.100.100**. After this, I was able to specify the FQDN in the Backup Credentials and the Cloud Sync Tasks started.~~
This method of adding MagicDNS can lead to issues with DNS when updating the tailscale application in TrueNAS, so I ended using the Tailscale IP directly.
To get MagicDNS working, I went to Network > Global Configuration and set "Nameserver 1" to **100.100.100.100**. After this, I was able to specify the FQDN in the Backup Credentials and the Cloud Sync Tasks started.

7
package-lock.json generated
View File

@@ -1394,10 +1394,9 @@
}
},
"node_modules/@tabler/icons": {
"version": "2.47.0",
"resolved": "https://registry.npmjs.org/@tabler/icons/-/icons-2.47.0.tgz",
"integrity": "sha512-4w5evLh+7FUUiA1GucvGj2ReX2TvOjEr4ejXdwL/bsjoSkof6r1gQmzqI+VHrE2CpJpB3al7bCTulOkFa/RcyA==",
"license": "MIT",
"version": "2.45.0",
"resolved": "https://registry.npmjs.org/@tabler/icons/-/icons-2.45.0.tgz",
"integrity": "sha512-J10UDghOni9wlrj5CpKAzychDCABCKYq897mGg0wGFsd+tYLaUdz0dt/HZeGnV8gZJo0hIiTPLGwBp5EW42Qsg==",
"funding": {
"type": "github",
"url": "https://github.com/sponsors/codecalm"

View File

@@ -23,7 +23,7 @@ jobs:
node-version: "18"
- name: Install Hugo
uses: peaceiris/actions-hugo@v2
uses: peaceiris/actions-hugo@v3
with:
hugo-version: "0.111.3"
extended: true
@@ -63,7 +63,7 @@ jobs:
node-version: "18"
- name: Install Hugo
uses: peaceiris/actions-hugo@v2
uses: peaceiris/actions-hugo@v3
with:
hugo-version: "0.111.3"
extended: true

View File

@@ -14,7 +14,7 @@ jobs:
ref: ${{ github.event.pull_request.head.sha }}
- name: Install Hugo
uses: peaceiris/actions-hugo@v2
uses: peaceiris/actions-hugo@v3
with:
hugo-version: "0.111.3"
extended: true

View File

@@ -0,0 +1,53 @@
# Dark Visitors robots.txt
# AI Data Scraper
# https://darkvisitors.com/agents/anthropic-ai
User-agent: anthropic-ai
Disallow: /
# AI Data Scraper
# https://darkvisitors.com/agents/ccbot
User-agent: CCBot
Disallow: /
# AI Data Scraper
# https://darkvisitors.com/agents/facebookbot
User-agent: FacebookBot
Disallow: /
# AI Data Scraper
# https://darkvisitors.com/agents/google-extended
User-agent: Google-Extended
Disallow: /
# AI Data Scraper
# https://darkvisitors.com/agents/gptbot
User-agent: GPTBot
Disallow: /
# AI Data Scraper
# https://darkvisitors.com/agents/omgilibot
User-agent: omgilibot
Disallow: /
User-agent: omgili
Disallow: /
# This blocks Bytespider
https://darkvisitors.com/agents/bytespider
User-agent: Bytespider
Disallow: /
User-agent: *
{{ if eq (hugo.Environment) "production" -}}
Allow: /
{{ else -}}
Disallow: /
{{ end -}}
Sitemap: {{ "sitemap.xml" | absURL -}}

View File

@@ -1368,9 +1368,9 @@
}
},
"node_modules/@tabler/icons": {
"version": "2.47.0",
"resolved": "https://registry.npmjs.org/@tabler/icons/-/icons-2.47.0.tgz",
"integrity": "sha512-4w5evLh+7FUUiA1GucvGj2ReX2TvOjEr4ejXdwL/bsjoSkof6r1gQmzqI+VHrE2CpJpB3al7bCTulOkFa/RcyA==",
"version": "2.44.0",
"resolved": "https://registry.npmjs.org/@tabler/icons/-/icons-2.44.0.tgz",
"integrity": "sha512-WPPtihDcAwEm1QZM9MXQw6+r/R2/qx7KMU1eegsi9DsqBLAb0W2kbt6e/syvd6j9c+6XNpRVBW1ziGqSWQAWOg==",
"funding": {
"type": "github",
"url": "https://github.com/sponsors/codecalm"
@@ -7569,9 +7569,9 @@
"dev": true
},
"@tabler/icons": {
"version": "2.47.0",
"resolved": "https://registry.npmjs.org/@tabler/icons/-/icons-2.47.0.tgz",
"integrity": "sha512-4w5evLh+7FUUiA1GucvGj2ReX2TvOjEr4ejXdwL/bsjoSkof6r1gQmzqI+VHrE2CpJpB3al7bCTulOkFa/RcyA=="
"version": "2.44.0",
"resolved": "https://registry.npmjs.org/@tabler/icons/-/icons-2.44.0.tgz",
"integrity": "sha512-WPPtihDcAwEm1QZM9MXQw6+r/R2/qx7KMU1eegsi9DsqBLAb0W2kbt6e/syvd6j9c+6XNpRVBW1ziGqSWQAWOg=="
},
"@trysound/sax": {
"version": "0.2.0",