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

Nginx Proxy Manager fronting example is not compatible with current NGM features #3687

Open
dullin opened this issue Oct 27, 2024 · 1 comment
Labels

Comments

@dullin
Copy link

dullin commented Oct 27, 2024

Problem description

An example file to have NGM (Nginx Proxy Manager) is currenlty available here : https://github.com/spantaleev/matrix-docker-ansible-deploy/tree/master/examples/reverse-proxies/nginx-proxy-manager

This file describes a setup that cannot be donne with the current (v2.12.1) version of NGM.

Steps to reproduce

The 2nd part of the example, to setup the port for federation, shows to setup a proxy host with a specific port. This feature is not currently functioning. Here is a screenshot showing the error message that hostname cannot have port specifications

image

To reproduce, use a domain name with a ":" inside of it to have the match pattern show the error.

Trying to add a 2nd proxy host without the source port to add the advanced section (listen 8448 ssl http2;) is also impossible since there is already a proxy host for the domain.

Possible avenues to fix

There is a new streams section in NGM that can redirect TCP and UDP traffic. The possible problem is that this doesn't help with SSL certificates which are handled by NGM on port 80 and 443 for HTTP and HTTPS. I am not knowledgeable enough to know if federation needs the certificates or how to have NGM make this work since I believe federation uses HTTPS.

Also, there is a section to add configs to nginx descibed here: https://nginxproxymanager.com/advanced-config/#custom-nginx-configurations
A possible alternative would be to add the config manually for the federation port though I am unsure how you could link it with the SSL certificates generation.

@dullin dullin changed the title Nginx Proxy Manager fronting example is not compatible with current NGM feature set. Nginx Proxy Manager fronting example is not compatible with current NGM features Oct 28, 2024
@gouthamravee
Copy link
Contributor

I was the last one to update that example. I will find some time to look into this and the possible solutions provided, thank you!

@luixxiul luixxiul added the bug label Nov 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants