Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- server {
- listen 80;
- server_name example.com;
- # en este caso la peticion solicita por el raiz
- location / {
- proxy_set_header Host $host;
- proxy_set_header X-Real-IP $remote_addr;
- # direccion ip y puerto del servidor que contiene el recurso
- proxy_pass http://1.2.3.4:8000;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement