Re: https auto redirect to specific port

2018-10-10 Thread c4rl
Wow, that's what I needed! It's so simple. Many thanks! Posted at Nginx Forum: https://forum.nginx.org/read.php?2,281566,281568#msg-281568 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

https auto redirect to specific port

2018-10-10 Thread c4rl
Hi experts, I'm not sure if the subject is resuming correctly my question but I'll try to explain it. I have the configuration below in my server, this server has 2 vhosts: example.com and mydomain.com The first vhost needs to listen on 8080 (https) and as you can see I'm using a redirect from h

curl 301 moved permanently if I don't use slash at the end of the url

2017-03-28 Thread c4rl
Hi, I need to list the content of some directories with curl without to use a '/' at the end of the url. If I do not use the slash then I receive the message below, otherwise the content is showed. I tried many rewrite rules without success. [user@localhost ~]$ curl http://mydomain.example.com/d