From 4772c708f1be6dcd63890cbdba12b29ef3a0e1b0 Mon Sep 17 00:00:00 2001 From: "georg.sinn-schirwitz" Date: Sun, 27 Oct 2024 15:06:57 +0100 Subject: [PATCH] fix: adjust IP address range --- ideas/reverse-proxy-setup-with-nginx.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ideas/reverse-proxy-setup-with-nginx.md b/ideas/reverse-proxy-setup-with-nginx.md index 8c0b8c9..399362c 100644 --- a/ideas/reverse-proxy-setup-with-nginx.md +++ b/ideas/reverse-proxy-setup-with-nginx.md @@ -91,8 +91,8 @@ $TTL 86400 86400 ) ; Negative Cache TTL @ IN NS ns.example.com. -ns IN A 192.0.2.1 ; Replace with your server's IP -www IN A 192.0.2.1 ; Replace with your server's IP +ns IN A 10.0.0.1 ; Replace with your server's IP +www IN A 10.0.0.1 ; Replace with your server's IP ``` #### Start BIND @@ -136,7 +136,7 @@ server { server_name www.example.com; location / { - proxy_pass http://backend_server_address; # Replace with your backend server address + proxy_pass http://10.0.0.2; # Replace with your backend server address proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;