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

[FEATURE] Bunkerweb access to additional nginx "listen" directives #1659

Open
1 task done
CrustyAvocado opened this issue Nov 4, 2024 · 1 comment
Open
1 task done
Labels
enhancement New feature or request

Comments

@CrustyAvocado
Copy link

CrustyAvocado commented Nov 4, 2024

What's needed and why?

I'd like bunkerweb to be able to add/remove additional "listen" directives to its nginx server for specific servers

For example in vanilla nginx I have every server configured to listen on 80 and 443, but some servers I need to listen on an additional dedicated HTTPS port (see example nginx config template below).

    server {
        listen *:80;
        listen [::]:80;
        listen *:443 ssl;
        listen [::]:443 ssl;
        listen *:32400 ssl;
        listen [::]:32400 ssl;

Implementations ideas (optional)

services:
  bunkerweb:
    container_name: bunkerweb
    environment:
      - MULTISITE=yes
      - LISTEN_HTTP=yes
      - LISTEN_HTTPS=yes
      - LISTEN_STREAM=no
      - HTTP_PORT=80
      - HTTPS_PORT=443
      - SERVER_NAME=plex.domain.com radarr.domain.com
      - plex.domain.com_REVERSE_PROXY_HOST=http://172.19.44.44:32400
      - plex.domain.com_HTTPS_PORT=32400      <--- THIS PLEASE
      - radarr.domain.com_REVERSE_PROXY_HOST=http://172.19.44.55:5055
    image: bunkerity/bunkerweb:latest

Code of Conduct

  • I agree to follow this project's Code of Conduct
@CrustyAvocado CrustyAvocado added the enhancement New feature or request label Nov 4, 2024
@CrustyAvocado CrustyAvocado changed the title [FEATURE] [FEATURE] Bunkerweb access to additional nginx "listen" directives Nov 4, 2024
@TheophileDiot
Copy link
Member

Hi, thank you for opening this feature request. Indeed that can be useful, we'll review it and let you know about it !

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

No branches or pull requests

2 participants