-
Sorry if this is a stupid question. I'm seeing this with all different npm installations i tested, but as a new starter with this topic i wanted to ask advanced users first before maybe filing a bug with the original npm (if that would be the place for it): whenever i create a new proxy host and have npm create a new cert for it, i also switch on the 'force TLS' option. creation works fine, perfect. then when i go to "edit" of this new host and check the TLS options, the 'force TLS' switch is always off and i manually need to activate it again. is this for you as well? is this on purpose? to me as a newbie it's quite confusing that activating the switch during creation process does not keep it activated after the successful creation. just me? thx alot! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 6 replies
-
is the setting only missing on new created hosts or also when editing? sounds like a bug |
Beta Was this translation helpful? Give feedback.
-
the option is actually called "force HTTPS" in the GUI, not "force TLS". in the created proxy host .conf file its called "Force TLS". Sorry for that confusion. it's only happening when creating a new (proxy) host for the first time:
when you then go to "edit" for this new host and check the TLS tab, the "force HTTPS" switch is deactivated and in the .conf file the according include line is missing. if you turn the switch on now and save, all is fine and the option is actually active and stays active. just wondering why no one else ever recognized this. Don't know how many users have proxy host configs in their npm where they assume to always do HTTPS and actually don't because they never re-checked the settings of their configs. |
Beta Was this translation helpful? Give feedback.
will release a fix today