From 9d3b96034d2b65f51195c528d9b6a63635b0fdc5 Mon Sep 17 00:00:00 2001 From: proffapt Date: Sat, 29 Jun 2024 16:41:21 +0530 Subject: [PATCH] feat: /signup permanent redirect to naarad-signup service --- metaploy/naarad.metaploy.conf | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/metaploy/naarad.metaploy.conf b/metaploy/naarad.metaploy.conf index 0d1f86c..0ac4827 100644 --- a/metaploy/naarad.metaploy.conf +++ b/metaploy/naarad.metaploy.conf @@ -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 / {