nginx has incorrect path for machine-resources in Debian package
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
Critical
|
Newell Jensen |
Bug Description
I just tried to commission a machine using MAAS installed with the Debian packages can it failed because MAAS configured nginx to share the machine-resources using the nginx path.
upstream maas-regions {
server 10.0.0.2:5240;
}
server {
listen [::]:5248;
listen 5248;
location /MAAS/ {
proxy_pass http://
}
location /machine-resources/ {
root /snap/maas/
autoindex on;
gzip on;
}
location /images/ {
alias /var/lib/
autoindex on;
}
location = /log {
internal;
proxy_pass http://
}
location / {
proxy_pass http://
}
}
Related branches
- Lee Trager (community): Approve
- MAAS Lander: Approve
-
Diff: 29 lines (+4/-2)2 files modifiedsrc/provisioningserver/rackdservices/http.py (+3/-0)
src/provisioningserver/templates/http/rackd.nginx.conf.template (+1/-2)
Changed in maas: | |
assignee: | nobody → Newell Jensen (newell-jensen) |
status: | Triaged → In Progress |
Changed in maas: | |
milestone: | none → next |
status: | In Progress → Fix Committed |
Changed in maas: | |
milestone: | next → 2.7.0alpha1 |
Changed in maas: | |
status: | Fix Committed → Fix Released |