oops
All checks were successful
pipeline / deploy-job (push) Successful in 43s

This commit is contained in:
fzorb 2024-10-08 23:28:28 +03:00
parent 789148bd95
commit 6686666e01

View File

@ -48,9 +48,10 @@ sudo systemctl enable --now openvpn-client@server # so we get connected on start
```
To check if you've done it correctly, you can do this:
```
curl https://fzorb.xyz/ip
~~curl https://fzorb.xyz/ip # this is currently broken~~
```
... and if it outputs your VPS's IP, congratulations, you've just connected your server to your VPS!
~~... and if it outputs your VPS's IP, congratulations, you've just connected your server to your VPS!~~
You should instead check it with `ip a` and see if you have a `tun0` or similar interface for now.
## Step 4. forwarding HTTP requests to your own box.
When a user wants to access your website, the Nginx server running on the VPS will reverse proxy whatever site they want to access. It's pretty simple.