Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Error when i create the container "nginx: [emerg] unknown "lan-ip" variable" #443

Closed
1 task done
Smitelift opened this issue Dec 27, 2023 · 3 comments
Closed
1 task done

Comments

@Smitelift
Copy link

Smitelift commented Dec 27, 2023

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

I got this error when I created the container, I can't find any indication of the source of the problem

Expected Behavior

//

Steps To Reproduce

I juste created the swag container

Environment

- OS: Debian 11
- How docker service was installed: Bare

CPU architecture

x86-64

Docker creation

---
version: "2.1"
services:
  swag:
    image: lscr.io/linuxserver/swag
    container_name: swag
    cap_add:
      - NET_ADMIN
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=Europe/Paris
      - URL=domain.com
      - SUBDOMAINS=wildcard
      - VALIDATION=duckdns
      - DUCKDNSTOKEN=Mytoken
      - EMAIL=mymail
      - DOCKER_MODS=linuxserver/mods:swag-maxmind|linuxserver/mods:swag-dashboard
      - MAXMINDDB_LICENSE_KEY=mylicence
    volumes:
      - /home/docker/appdata/swag/config:/config
    ports:
      - 443:443
      - 81:81
    restart: unless-stopped

Container logs

nginx: [emerg] unknown "lan-ip" variable
nginx: [emerg] unknown "lan-ip" variable
nginx: [emerg] unknown "lan-ip" variable
nginx: [emerg] unknown "lan-ip" variable
Copy link

Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.

@Smitelift Smitelift changed the title [BUG] <title> [BUG] Error when i create the container "nginx: [emerg] unknown "lan-ip" variable" Dec 27, 2023
@Roxedus
Copy link
Member

Roxedus commented Dec 27, 2023

Update your configs.

@LinuxServer-CI LinuxServer-CI moved this from Issues to Done in Issue & PR Tracker Jan 22, 2024
@Smitelift
Copy link
Author

Patch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

2 participants