зеркало из https://github.com/mozilla/treeherder.git
Merge pull request #247 from mozilla/bug-1081059-static-and-media-conf
Bug 1081059 - restore access to static and media files
This commit is contained in:
Коммит
9613017cd6
|
@ -48,7 +48,14 @@
|
|||
|
||||
Alias /icons /home/<%= @APP_USER %>/treeherder-ui/<%= @APP_UI %>/icons
|
||||
ProxyPass /icons !
|
||||
############
|
||||
|
||||
###############
|
||||
# Serve static and media files
|
||||
###############
|
||||
Alias /static /home/<%= @APP_USER %>/treeherder-service/treeherder/webapp/static
|
||||
ProxyPass /static !
|
||||
Alias /media /home/<%= @APP_USER %>/treeherder-service/treeherder/webapp/media
|
||||
ProxyPass /media !
|
||||
|
||||
Alias / /home/<%= @APP_USER %>/treeherder-ui/<%= @APP_UI %>/index.html
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче