NginxProxyManager / nginx-proxy-manager

Docker container for managing Nginx proxy hosts with a simple, powerful interface
https://nginxproxymanager.com
MIT License
23.46k stars 2.72k forks source link

grpc pass through fails and crashes NPM #931

Open mudvane opened 3 years ago

mudvane commented 3 years ago

Currently I have Pydio Cells running behind Nginx Proxy Manager(NPM). The web UI and mobile app work as expected. The issue is with the sync client which need https2 support and to pass grpc port.

This is where I seem to fail. I have tried adding in the advanced tab of my configuration for my host:

server {
listen 33060 ssl http2;
listen [::]:33060 ssl http2;
keepalive_timeout 600s;
# Let's Encrypt SSL
include conf.d/include/letsencrypt-acme-challenge.conf;
include conf.d/include/ssl-ciphers.conf;
ssl_certificate /etc/letsencrypt/live/npm-2/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/npm-2/privkey.pem;
location / {
grpc_pass grpcs://192.168.1.208:33060;
}
error_log /var/log/nginx/proxy-grpc-error.log;
access_log /var/log/nginx/proxy-grpc-access.log;
}

But every time I add this or something similar it either does not work or causes NPM to crash. Using this as a guide for the above code. So what am I missing? Thanks.

UMUTBAYGUT commented 1 year ago

Hello , is there any example with NPM and grpc proxy ?

github-actions[bot] commented 8 months ago

Issue is now considered stale. If you want to keep it open, please comment :+1: