Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- server {
- server_name user.testdomain.com;
- . . .
- location /admin/search {
- limit_req zone=testsearch;
- proxy_pass http://testpass;
- 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
- }
Add Comment
Please, Sign In to add comment