Skip to content

BASE_PATH enhancement needs to update static path in uwsgi.conf #14

@lanefu

Description

@lanefu

linuxserver.io

#8 Does not update uwsgi's static path config to work with alternate base paths.

https://github.com/linuxserver/docker-netbox/blob/master/root/defaults/uwsgi.ini#L6


Expected Behavior

Site should load fully

Current Behavior

Static content errors. Uwsgi is responsible for for returning static content. uwsig is hard coded for static content to be on example.com/static rather than example.com/BASE_NAME/static

Steps to Reproduce

  1. Launch container with BASE_NAME=netbox/
  2. reverse proxy under location /netbox

I was able to work around by changing https://github.com/linuxserver/docker-netbox/blob/master/root/defaults/uwsgi.ini#L6

to

static-map = /netbox/static=static

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions