Does your nginx config know how to handle a direct IP address request? Seems like its set up for domain name only?
To be honest I think the wordpress install handled all that, or maybe wordpress handles it inheritly, I'm not sure. I simply pointed a domain to my static ip and forwarded http/https to the correct LAN ports and it just worked on its' own.
I probably shouldn't have mentioned Wordpress, I'm mostly focused on the Gogs server right now, I just added it for more context on the issue
Oh yeah my mistake. Ill give it some thought but in the meantime you might find more help in the selfhosted community
Thank you, I will try there, I was trying to install PiVPN since I can connect to the Gogs server on my local network, if I could just get a VPN server running it should work, but of course more issues with that. The cause could well be some config I might have changed and forgotten about, reimaging and starting fresh might be the easiest solution.
Though, I did just upgrade to FTTP - which added a modem or some kind of device between my router and the internet, so maybe there could be some extra config surrounding that I'm just not aware of
Generally if youre selfhosting a vpn is better from a cyber security perspective anyway.
This. I was getting fits when I read the post. Fiber is actually great for selfhosting a service but the security side is very dangerous for uninformed individuals.
If configuring an nginx server is already stretching it, its only a matter of time until your stuff is encrypted and ransomed. Same goes for all data in your network. If the pi is not in its own zone, it has now become a door to your network with barely a lock, let alone a good one.
I would highly recommend reading up on network security and probably prioritize isolating the pi and making at least daily backups.
You router is going to be scanned for open ports every couple minutes. If the wordpress doesnt have a strong password, you‘re in for a bad time.
Linux
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Rules
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0