[Django]-Django & Nginx deeplinking domains (re-write rules or django urls?)

1👍

You could use the proxy_pass configuration in Ngxinx.

server {
   gzip on;
   listen       80;
   server_name  books-stuff.com ;

   location / {
      proxy_pass http://general-stuff.com/books/;
      break;
   }
}

Should do exactly what you want

👤Ulf

Leave a comment