kopia lustrzana https://dev.funkwhale.audio/funkwhale/funkwhale
Fix Apache configuration
Built assets are fetched using path like this: `/assets/foo-a1b2c3.js`. Apache failed to serve those, as it was missing disabling the proxy pass for the static assets folder. This commit adds the necessary configuration for properly serving the static assets. Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2699>environments/review-docs-renov-djizp4/deployments/19096
rodzic
c21bfce9d0
commit
d0a997643b
|
@ -94,6 +94,11 @@ Define MEDIA_DIRECTORY_PATH ${FUNKWHALE_ROOT_PATH}/data/media
|
|||
</Location>
|
||||
Alias /front ${FUNKWHALE_ROOT_PATH}/front/dist
|
||||
|
||||
<Location "/assets">
|
||||
ProxyPass "!"
|
||||
</Location>
|
||||
Alias /assets ${FUNKWHALE_ROOT_PATH}/front/dist/assets
|
||||
|
||||
<Location "/media">
|
||||
ProxyPass "!"
|
||||
</Location>
|
||||
|
|
Ładowanie…
Reference in New Issue