fix: adjust IP address range

This commit is contained in:
georg.sinn-schirwitz
2024-10-27 15:06:57 +01:00
parent 6572d2bda7
commit 4772c708f1

View File

@@ -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;