PeaNUT icon indicating copy to clipboard operation
PeaNUT copied to clipboard

[Bug]: BASE_PATH Doesn't Seem To Work

Open Majoraslayer opened this issue 8 months ago • 1 comments

Describe the bug

I'm trying to set the base path variable per the instructions for my reverse proxy. If properly functioning, I should be able to access it locally at 192.168.1.69:8008/pnut. However, no matter how I set this variable I seem to get a 404 error served out by PeaNUT itself when navigating via the base path. The guide doesn't have any actual examples on how to use it. I've tried all of the following formatting in my Docker run command:

-e BASE_PATH=/pnut
-e BASE_PATH=/pnut/
-e BASE_PATH="/pnut"
-e BASE_PATH="/pnut/"
-e BASE_PATH=pnut
-e BASE_PATH="pnut"

Is the feature broken, or are the instructions to use it just missing important context?

Debug Output

N/A

Steps to reproduce

  1. Use the docker run command and set the BASE_PATH environment variable to anything.

Device Type

Debian x86

UPS Device

TrippLite Smart1300CLDt

Last Working Version

No response

Majoraslayer avatar Jun 18 '24 15:06 Majoraslayer