Juju GUI charm: serve the GUI using static files.
Bug #1083545 reported by
Francesco Banconi
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
juju-gui |
Fix Released
|
High
|
Madison Scott-Clary |
Bug Description
We want the charm to always serve files from nginx, and never from a custom server (e.g. what we do for make debug).
The charm will usually served compressed files from the "build" tree. Once bug 1078910 is addressed, it will serve the files from the "app" tree when in debug mode.
nginx will be configured to deliver index.html as the 404 page, or will do something similar so that any non-asset url will deliver the main page. This allows people to pass the JS-generated URLs around and have them still work.
After this bug is finished, see bug 1083920.
Related branches
lp://qastaging/~makyo/charms/precise/juju-gui/juju-gui
- Juju GUI Hackers: Pending requested
-
Diff: 66 lines (+16/-3)4 files modifiedconfig.yaml (+5/-0)
config/config.js.template (+1/-1)
hooks/start (+9/-1)
revision (+1/-1)
lp://qastaging/~makyo/charms/precise/juju-gui/serve-static
- Juju GUI Hackers: Pending requested
-
Diff: 119 lines (+47/-9)5 files modifiedconfig/juju-gui.conf.template (+1/-4)
config/nginx.conf.template (+24/-0)
hooks/install (+9/-2)
hooks/start (+12/-2)
revision (+1/-1)
description: | updated |
description: | updated |
description: | updated |
Changed in juju-gui: | |
assignee: | nobody → Matthew Scott (makyo) |
status: | Triaged → In Progress |
Changed in juju-gui: | |
status: | In Progress → Fix Released |
To post a comment you must log in.