• Welcome to TechPowerUp Forums, Guest! Please check out our forum guidelines for info related to our community.
  • The forums have been upgraded with support for dark mode. By default it will follow the setting on your system/browser. You may override it by scrolling to the end of the page and clicking the gears icon.

Nginx help needed

Joined
Nov 1, 2008
Messages
4,213 (0.69/day)
Location
Vietnam
System Name Gaming System / HTPC-Server
Processor i7 8700K (@4.8 Ghz All-Core) / R7 5900X
Motherboard Z370 Aorus Ultra Gaming / MSI B450 Mortar Max
Cooling CM ML360 / CM ML240L
Memory 16Gb Hynix @3200 MHz / 16Gb Hynix @3000Mhz
Video Card(s) Zotac 3080 / Colorful 1060
Storage 750G MX300 + 2x500G NVMe / 40Tb Reds + 1Tb WD Blue NVMe
Display(s) LG 27GN800-B 27'' 2K 144Hz / Sony TV
Case Xigmatek Aquarius Plus / Corsair Air 240
Audio Device(s) On Board Realtek
Power Supply Super Flower Leadex III Gold 750W / Andyson TX-700 Platinum
Mouse Logitech G502 Hero / K400+
Keyboard Wooting Two / K400+
Software Windows 10 x64
Benchmark Scores Cinebench R15 = 1542 3D Mark Timespy = 9758
Hi All,

I'm trying to get Nginx to work with certbot to forward traffic from my public address e.g. silkstoneserver.ddns.net using ssl on port 443 to an service on my local network, but I'm encountering real difficulties.

I don't suppose anyone knows of a guide which I could use that would lead me through the process from the beginning?
I've tried following this one: https://www.nginx.com/blog/using-free-ssltls-certificates-from-lets-encrypt-with-nginx/ as well as others

It's straight from the nginx website, but as soon as I try to generate a certificate, I get a 'could not connect to the server to verify the domain' error.

I've checked that port 80 and 443 is open by mapping it to a different internal port and I can connect so I'm assuming that the guide must be missing some steps in order to get the nginx service listening on this port, which it seems to not be doing.

Any help would be much appreciated.
 
So you are trying to reverse proxy? Do you have a sub domain setup for that service at ddns?
 
So you are trying to reverse proxy? Do you have a sub domain setup for that service at ddns?

Thanks Guys. The problem was with my double NAT setup. Port 80 wasn't being forwarded through to my main router as it was in use by the admin page on my isp router (even with WAN access disabled).
I simply changed the port for the admin page and it all instamagically worked. :)
 
Back
Top