Comment on nginx https only works when not on local network
Blisterexe@lemmy.zip 1 year agodid you find a way to fix it? (i am at my wits end)
Comment on nginx https only works when not on local network
Blisterexe@lemmy.zip 1 year agodid you find a way to fix it? (i am at my wits end)
Taleya@aussie.zone 1 year ago
internally? On my main rig I just edited my host file to hard direct all traffic for that domain to the box’s internal IP. Not sure if that will work for you. Externally, well…there’s no issue.
Blisterexe@lemmy.zip 11 months ago
What exactly did you put in your host file that fixed the issue?
Taleya@aussie.zone 11 months ago
main rig is a win system, so I modified C:\Windows\System32\drivers\etc\hosts. NOTEL Always make a copy of your existing config (eg: hosts.old)
add the following line
internal IP domain
so eg:
192.168.0.10 MyDomain.com
then save and go.
Blisterexe@lemmy.zip 11 months ago
I was actually hoping I could fix it for everyone on the network, but fair enough
Taleya@aussie.zone 11 months ago
Could try tweaking your modem settings, but that’s extremely equipment specific as to what will/won’t work. If you run your own dns or can define hosts higher on the hierarchy, hardcoding there would also work
Blisterexe@lemmy.zip 11 months ago
I fucked around enough! Check the edit
Blisterexe@lemmy.zip 11 months ago
Well, thanks for the help, I’ll just try to fuck around until I fix smth