1
0
mirror of https://github.com/juanfont/headscale.git synced 2025-05-09 01:20:34 +02:00

Prefer the console lexer when commandline and output mixed

This commit is contained in:
Florian Preinstorfer 2025-03-28 07:35:33 +01:00
parent 643b55b398
commit 20e2f7806d
3 changed files with 5 additions and 5 deletions

View File

@ -76,14 +76,14 @@ hostname and port combination "http://hostname-in-magic-dns.myvpn.example.com:30
=== "Query with dig"
```shell
```console
dig +short grafana.myvpn.example.com
100.64.0.3
```
=== "Query with drill"
```shell
```console
drill -Q grafana.myvpn.example.com
100.64.0.3
```

View File

@ -52,7 +52,7 @@ If you want to validate that certificate renewal completed successfully, this ca
1. Open the URL for your headscale server in your browser of choice, and manually inspecting the expiry date of the certificate you receive.
2. Or, check remotely from CLI using `openssl`:
```bash
```console
$ openssl s_client -servername [hostname] -connect [hostname]:443 | openssl x509 -noout -dates
(...)
notBefore=Feb 8 09:48:26 2024 GMT

View File

@ -140,13 +140,13 @@ Additionally, the debug container includes a minimalist Busybox shell.
To launch a shell in the container, use:
```
```shell
docker run -it headscale/headscale:x.x.x-debug sh
```
You can also execute commands directly, such as `ls /ko-app` in this example:
```
```shell
docker run headscale/headscale:x.x.x-debug ls /ko-app
```