a few fixes

This commit is contained in:
2025-07-30 13:36:00 +02:00
parent be72715cfe
commit d2985382f4
6 changed files with 39 additions and 321 deletions

View File

@@ -9,12 +9,21 @@ Sorry, (this part of) domain $domain is not reachable by IPv4. Please upgrade to
Written for Deno.
## Enable for your site
Simply add the A record `82.153.138.10` to your domain besides your existing AAAA record to use the version hosted by us.
If you want to host it yourself, run:
`docker run -d --name no-ipv4-here -e SERVICE_DOMAIN=no-ipv4-here.YOUR-DOMAIN.com -p 8080:8080 --restart unless-stopped git.kyun.li/gunter/no-ipv4-here:latest`
or read on.
## Configuration
The application uses the following environment variables:
- `SERVICE_DOMAIN`: The domain where this service is hosted (default: "localhost")
- Example: `SERVICE_DOMAIN=my-ipv6-service.example.com`
- Example: `SERVICE_DOMAIN=no-ipv4-here.example.com`
When making requests to this service, the domain you provide in the `back_to` parameter will be compared against this value to determine if it should be treated as an external domain.
@@ -23,8 +32,8 @@ When making requests to this service, the domain you provide in the `back_to` pa
1. Install Deno: https://deno.land/manual/getting_started/installation
2. Clone this repository:
```bash
git clone https://git.kyun.li/gunter/ungleich-no-ipv4-here
cd ungleich-no-ipv4-here
git clone https://git.kyun.li/gunter/deno-no-ipv4-here
cd deno-no-ipv4-here
```
3. Start the service:
```bash