Nginx proxy manager how set redirect 443 SSL default host Hestia

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

  1. Internet Client enter brouser 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) →
  2. Apache+nginx+ssl server(**

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://;
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;


is posible?

you need ssl cert in pem format and key directives with there paths in nginx vhost.

1 Like