OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • English Forums »
  • Web Proxy Filtering and Caching (Moderator: fabian) »
  • Cannot start nginx after setup revers proxy error nginx: [emerg] no "ssl_certifi
« previous next »
  • Print
Pages: [1]

Author Topic: Cannot start nginx after setup revers proxy error nginx: [emerg] no "ssl_certifi  (Read 1035 times)

wounwijit

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
    • View Profile
Cannot start nginx after setup revers proxy error nginx: [emerg] no "ssl_certifi
« on: May 13, 2024, 09:06:38 am »
Hi forum ,
I am newbie on opnsene.
I build my home lab with basic opnsense 24.1.6 setup  with default LAN and DHCP WAN

In this point client can access internet fine then I setup web server (port 81) and test on LAN working find or NAT with port forwarding working fine .
Then i would like to improve security so  I install os-nginx   then
1.setup upstrem server , upstream to my wer server
2.setup location and http

Then enable then start nginx but cannot start in log show some thing error on nginx.conf

nginx log on opnsense
-----
nginx: configuration file /usr/local/etc/nginx/nginx.conf test failed
-----
nginx: [emerg] no "ssl_certificate" is defined for the "listen ... ssl" directive in /usr/local/etc/nginx/nginx.conf:80
-----

my question is it posible enable http revers proxy without ssl cert.

Thanks.

Logged

cookiemonster

  • Hero Member
  • *****
  • Posts: 1827
  • Karma: 95
    • View Profile
Re: Cannot start nginx after setup revers proxy error nginx: [emerg] no "ssl_certifi
« Reply #1 on: May 13, 2024, 10:22:34 pm »
yes. In the upstream configuration, only need to disable (untick) the "Enable TLS (HTTPS)" option.
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • English Forums »
  • Web Proxy Filtering and Caching (Moderator: fabian) »
  • Cannot start nginx after setup revers proxy error nginx: [emerg] no "ssl_certifi
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2