Guest User

Untitled

a guest
Jul 16th, 2018
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. server {
  2. server_name user.testdomain.com;
  3.  
  4. . . .
  5.  
  6. location /admin/search {
  7. limit_req zone=testsearch;
  8. proxy_pass http://testpass;
  9. proxy_set_header Host "admin.testdomain.com"; # without this, the session won't be allowed by the middleware, but this redirects user.testdomain.com to admin.testdomain.com
  10. }
Add Comment
Please, Sign In to add comment