1 Answer
- Newest
- Most votes
- Most comments
4
if you are using Nginx as a proxy server, you can add the following lines to your Nginx configuration file
server {
listen [::]:80 ipv6only=on; # Replace 80 with the desired port number
server_name your_ipv6_domain.com;
location / {
proxy_pass http://[source_server_ipv6_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;
}
}
if you explain your question more clearly i can give a better answer to you
Relevant content
- asked 7 months ago
- asked 2 years ago
- AWS OFFICIALUpdated 10 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 10 months ago
- AWS OFFICIALUpdated a month ago
The details are as follows. If by doing this it does enable clients connecting to the proxy to be proxied, but drops people outside the proxy. And I want to use a reverse proxy to take care of the server, not the client. I don't really want that, and if there is a ready-made example, it would be peer-to-peer, but I'm not sure how to deploy and implement it.