Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    WebGUI - HTTPS - WebGUI redirect - Not working as expected

    2.0-RC Snapshot Feedback and Problems - RETIRED
    3
    4
    3.6k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      Seth
      last edited by

      While working with the WebGUI config (seeing if I can run both secure and non secure sites to host proxy file)  I discovered that when protocol is set to HTTPS and the check box is set to UNCHECKED for "WebGUI redirect" "Disable webConfigurator redirect rule" redirection still occurs.

      HTTPS and WebGUI redirect selected
      or
      HTTPS and WebGUI redirect NOT selected (unchecked)
      Produces the same result in lighty-webConfigurator.conf

      
      ## ssl configuration
      ssl.engine = "enable"
      ssl.pemfile = "/var/etc/cert.pem"
      
      $SERVER["socket"] == ":80" {
      	$HTTP["host"] =~ "(.*)" {
      		url.redirect = ( "^/(.*)" => "https://%1/$1" )
      	}
      }
      
      
      1 Reply Last reply Reply Quote 0
      • C
        cmb
        last edited by

        Fixed, thanks.

        1 Reply Last reply Reply Quote 0
        • D
          ddod
          last edited by

          When was this fixed and how?  I am still seeing this same behavior using the 2.0 RC

          1 Reply Last reply Reply Quote 0
          • D
            ddod
            last edited by

            So I just figured it out.  On the NAT rule I had to enable NAT reflection (the default setting is off).

            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.