Welcome! Log In Create A New Profile

Advanced

Redirect

Posted by gmckinley4 
Redirect
June 17, 2016 11:10AM
I am wanting to use nginx to redirect cloud.ventureforth.com to https://129.144.5.35/ords/f?p=1000. I also want ot mask the https: redirect. Here is what I have in my config.

server {
listen 80;
server_name cloud.ventureforth.com;

location / {
proxy_pass https://129.144.5.35/ords/f?p=1000;
}
}

When I type cloud.ventureforth.com in the browser, I get cloud.ventureforth.com:1:::::

Any suggestions would be helpful.
Re: Redirect
July 19, 2016 04:05PM
Add:

return 301 https://129.144.5.35/ords/f?p=1000;
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 168
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready