1 réponse
- Le plus récent
- Le plus de votes
- La plupart des commentaires
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
Contenus pertinents
- demandé il y a 2 mois
- demandé il y a un an
- demandé il y a 2 mois
- AWS OFFICIELA mis à jour il y a 2 ans
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.