Skip to content

Commit

Permalink
feat: /signup permanent redirect to naarad-signup service
Browse files Browse the repository at this point in the history
  • Loading branch information
proffapt committed Jun 29, 2024
1 parent 5998540 commit 9d3b960
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions metaploy/naarad.metaploy.conf
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,7 @@ server {
}

location /signup {
auth_request /auth;
error_page 300 301 302 303 304 305 306 307 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 421 422 423 424 425 426 428 429 431 451 500 501 502 503 504 505 506 507 508 510 511 = @handle_auth;

# Redirect to our custom signup page
proxy_pass https://naarad-signup.metakgp.org;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-Server $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
return 301 https://naarad-signup.metakgp.org;
}

location / {
Expand Down

0 comments on commit 9d3b960

Please sign in to comment.