Question on https_only flag of /etc/wok/wok.conf

Hi All, Per default settings, 8000 is used as http port and 8001 is used as https port. case 1: https_only=true, was not able to browse with 8000 port, which is as expected. case 2: https_only=false, per my understanding, it should allow http connections, but all the requests are rerouted to https and 8001 port. So is it the case that, though https_only is false, no requests are handled in 8000(http) port? please help me understand the significance of https_only flag. -- Regards, Suresh Babu Angadi

This sounds like a bug. If https_only=false then 8000 should be the 'to go' port IMO. On 08/03/2016 04:05 AM, Suresh Babu Angadi wrote:
Hi All, Per default settings, 8000 is used as http port and 8001 is used as https port. case 1: https_only=true, was not able to browse with 8000 port, which is as expected. case 2: https_only=false, per my understanding, it should allow http connections, but all the requests are rerouted to https and 8001 port. So is it the case that, though https_only is false, no requests are handled in 8000(http) port? please help me understand the significance of https_only flag.

On Aug 03 10:56AM, Daniel Henrique Barboza wrote:
This sounds like a bug. If https_only=false then 8000 should be the 'to go' port IMO.
I have the same opinion. I guess the problem is in NGINX configuration, created by Wok start up process. It's redirecting port 8000 to 8001, even if https_only=false is set up. I guess this is not hard to solve, and can help you since I touch in this part of code a couple of weeks ago.
On 08/03/2016 04:05 AM, Suresh Babu Angadi wrote:
Hi All, Per default settings, 8000 is used as http port and 8001 is used as https port. case 1: https_only=true, was not able to browse with 8000 port, which is as expected. case 2: https_only=false, per my understanding, it should allow http connections, but all the requests are rerouted to https and 8001 port. So is it the case that, though https_only is false, no requests are handled in 8000(http) port? please help me understand the significance of https_only flag.
_______________________________________________ Kimchi-devel mailing list Kimchi-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/kimchi-devel
-- Paulo Ricardo Paz Vital Linux Technology Center, IBM Systems http://www.ibm.com/linux/ltc/

On 08/03/2016 10:52 PM, Paulo Ricardo Paz Vital wrote:
On Aug 03 10:56AM, Daniel Henrique Barboza wrote:
This sounds like a bug. If https_only=false then 8000 should be the 'to go' port IMO. I have the same opinion.
I guess the problem is in NGINX configuration, created by Wok start up process. It's redirecting port 8000 to 8001, even if https_only=false is set up.
I guess this is not hard to solve, and can help you since I touch in this part of code a couple of weeks ago. Thanks guys. I see that, settings load from proxy.py file, which is nginx configuration. If this seems to be an issue, should be fixed,, i will raise in wok.
On 08/03/2016 04:05 AM, Suresh Babu Angadi wrote:
Hi All, Per default settings, 8000 is used as http port and 8001 is used as https port. case 1: https_only=true, was not able to browse with 8000 port, which is as expected. case 2: https_only=false, per my understanding, it should allow http connections, but all the requests are rerouted to https and 8001 port. So is it the case that, though https_only is false, no requests are handled in 8000(http) port? please help me understand the significance of https_only flag.
_______________________________________________ Kimchi-devel mailing list Kimchi-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/kimchi-devel
-- Regards, Suresh Babu Angadi

On 08/04/2016 12:28 AM, Suresh Babu Angadi wrote:
On 08/03/2016 10:52 PM, Paulo Ricardo Paz Vital wrote:
On Aug 03 10:56AM, Daniel Henrique Barboza wrote:
This sounds like a bug. If https_only=false then 8000 should be the 'to go' port IMO. I have the same opinion.
I guess the problem is in NGINX configuration, created by Wok start up process. It's redirecting port 8000 to 8001, even if https_only=false is set up.
I guess this is not hard to solve, and can help you since I touch in this part of code a couple of weeks ago. Thanks guys. I see that, settings load from proxy.py file, which is nginx configuration. If this seems to be an issue, should be fixed,, i will raise in wok.
raised issue - https://github.com/kimchi-project/wok/issues/154
On 08/03/2016 04:05 AM, Suresh Babu Angadi wrote:
Hi All, Per default settings, 8000 is used as http port and 8001 is used as https port. case 1: https_only=true, was not able to browse with 8000 port, which is as expected. case 2: https_only=false, per my understanding, it should allow http connections, but all the requests are rerouted to https and 8001 port. So is it the case that, though https_only is false, no requests are handled in 8000(http) port? please help me understand the significance of https_only flag.
_______________________________________________ Kimchi-devel mailing list Kimchi-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/kimchi-devel
-- Regards, Suresh Babu Angadi
participants (3)
-
Daniel Henrique Barboza
-
Paulo Ricardo Paz Vital
-
Suresh Babu Angadi