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] [emerg] "stream" directive is not allowed here in /etc/nginx/conf.d/stream.conf:3 #320

Closed
1 task done
markisoke opened this issue Jan 22, 2023 · 3 comments
Closed
1 task done

Comments

@markisoke
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

After update 1.32.0-ls173 last night I've been thrown the following error in the logs: [emerg] "stream" directive is not allowed here in /etc/nginx/conf.d/stream.conf:3

This results in my swag container not starting.

Expected Behavior

No response

Steps To Reproduce

I'm using 2.2.0-ls174 now and it's still behaving the same

Environment

- OS: Ubuntu 18.04.6
- How docker service was installed: distro's packagemanager

CPU architecture

x86-64

Docker creation

Docker Compose:

# SWAG – SWAG including Nginx and PHP
  swag:
    image: "linuxserver/swag"
    hostname: swag
    container_name: "swag"
    volumes:
      - /opt/docker/swag/config:/config
    ports:
      - 443:443
      # Only for validation, redirect all http traffic to https in config
      - 80:80
    restart: always
    environment:
      - PUID=***
      - PGID=***
      - TZ=***
      - EMAIL=***
      - URL=***
      - EXTRA_DOMAINS=***
      - SUBDOMAINS=wildcard
      - VALIDATION=dns
      - DNSPLUGIN=cloudflare
    networks:
     swag:
       ipv4_address: 192.168.1.2

Container logs

nginx: [emerg] "stream" directive is not allowed here in /etc/nginx/conf.d/stream.conf:3
nginx: [emerg] "stream" directive is not allowed here in /etc/nginx/conf.d/stream.conf:3
nginx: [emerg] "stream" directive is not allowed here in /etc/nginx/conf.d/stream.conf:3
nginx: [emerg] "stream" directive is not allowed here in /etc/nginx/conf.d/stream.conf:3
nginx: [emerg] "stream" directive is not allowed here in /etc/nginx/conf.d/stream.conf:3
@github-actions
Copy link

Thanks for opening your first issue here! Be sure to follow the bug or feature issue templates!

@markisoke
Copy link
Author

Reverting back to linuxserver/swag:1.32.0-ls172 solves the issue

@Roxedus
Copy link
Member

Roxedus commented Jan 22, 2023

You claimed to have searched for other issues, yet this is a dupe of #319 #318 #316.

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

No branches or pull requests

2 participants