fix: adjust IP address range
This commit is contained in:
@@ -91,8 +91,8 @@ $TTL 86400
|
|||||||
86400 ) ; Negative Cache TTL
|
86400 ) ; Negative Cache TTL
|
||||||
|
|
||||||
@ IN NS ns.example.com.
|
@ IN NS ns.example.com.
|
||||||
ns 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 192.0.2.1 ; Replace with your server's IP
|
www IN A 10.0.0.1 ; Replace with your server's IP
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Start BIND
|
#### Start BIND
|
||||||
@@ -136,7 +136,7 @@ server {
|
|||||||
server_name www.example.com;
|
server_name www.example.com;
|
||||||
|
|
||||||
location / {
|
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 Host $host;
|
||||||
proxy_set_header X-Real-IP $remote_addr;
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||||
|
|||||||
Reference in New Issue
Block a user