[SOLVED] Problem to download gcode files

Hello,

When I click on the download button I get this url:
http://octoprint.local/downloads/files/local/WDI3_Headset_controller_rig.gcode

Issue is that I'm running octoprint behind a reversed proxy and I need to change the url to:
https://octoprint.local/downloads/files/local/WDI3_Headset_controller_rig.gcode

It works fine when clicking on the setting button and other buttons.
They have https:// urls

Octoprint:
Version 1.4.2

OctoPi
Version 0.17.0,

You need to configure your reverse proxy so it tells OctoPrint that you are running it on HTTPS

Take a look at Reverse proxy configuration examples

1 Like