markwal / OctoPrint-GPX

An OctoPrint plug-in to use GPX as the protocol layer underneath rather than replacing g-code to talk to s3g/x3g machines, for example, a FlashForge.
GNU Affero General Public License v3.0
104 stars 25 forks source link

Configuring plugin on reverse-proxy subdir installation #31

Open ZafiRUS opened 7 years ago

ZafiRUS commented 7 years ago

I'm using octoprint hidden by nginx with not '/' base dir.

After configuration everything works fine, but I can't configure GPX, because it ignores basedir, e.g. tries to look for '/plugin/GPX/ini' in root dir, not in '/octoprint/plugin/GPX/ini' and gets 404.

Machine definition edit window pops up with empty values. Connection to printer fails with '.octoprint/data/GPX/gpx.ini not found' error.

After configuring the plugin using direct connection to octoprint installation printing works fine.

GPX Plugin versions 2.5.4 and 2.5.5