NginxProxyManager / NginxProxyManager/nginx-proxy-manager

nginx proxy manager how set redirect 443 SSL default host to another local web server apache+nginx+LetsEncrypt

Open
#3,074 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug stale
Dominant language
TypeScript
Stars
34.2k
Forks
3.9k
Avg merge
21h 12m
Merged PRs (30d)
20

Description

Path config /nginx-proxy-manager/data/nginx/default_host/site.conf

Internet Client enter brouser site.com or any name (DNS A 777.777.777.777) -> 2.Lan nginx proxy manager (if not found site) (WAN 777.777.777.777 LAN192.168.100.36) ->
Apache+nginx+ssl server(192.168.100.37)**

HTTP is work HTTPS not work**

Error on start nginx proxy manager Starting nginx ... app_1 | nginx: [emerg] no "ssl_certificate" is defined for the "listen ... ssl" directive in /data/nginx
Default Site

server {
listen 443 default;
listen [::]:443 default;
server_name default-host.localhost;
include conf.d/include/force-ssl.conf; #no different comment uncomment
location / {
proxy_pass $scheme://192.168.100.37:443/;
proxy_redirect off;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}

}`

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing /nginx-proxy-manager/data/nginx/default_host/site.conf and the reported nginx startup error about no ssl_certificate for the listen ... ssl directive. Compare the HTTP and HTTPS default-host configuration and determine the supported configuration for proxying to 192.168.100.37:443. Done means the proxy starts successfully and HTTPS requests reach the local server.

Written by the indexing model from the issue text.

Assessment

Tech stack
nginx
Domain
networking
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.