Quantcast
Channel: Nginx Forum - Other discussion
Viewing all articles
Browse latest Browse all 972

Re: second path redirect does not work

$
0
0
tried now with location:

server {
listen 80;
server_name _;
return 301 https://$host$request_uri;

location /bamboo {
rewrite ^/bamboo(.*)$ http://mydomainname:8085/$1 last;
}

location /api {
rewrite ^/api(.*)$ http://mydomainname:8080/$1 last;
}

return 403;
}

Still no success :(

Viewing all articles
Browse latest Browse all 972

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>