Changes between Version 4 and Version 5 of ProductieStappen


Ignore:
Timestamp:
01/14/15 14:29:28 (10 years ago)
Author:
mschenk
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • ProductieStappen

    v4 v5  
    6363}}}
    6464
     65=== Media server ===
    6566
     67Media (pictures etc.) are not served from the application servers. Instead this content is served from a media server. The application is configured to write all uploaded media (uploaded through the admin interface that is) to the media-server. When rendering pages that contain these media files the url is changed to point to the public part of the media server.
     68
     69The django plugin that is used to create this behaviour is called django-resto (see https://django-resto.readthedocs.org/en/latest/)
     70
     71In the config file the following settings are important:
     72
     73[[IncludeSource(website/trunk/website/conf/production/settings_live.py,start=65,end=67)]]
     74
     75The '''RESTO_MEDIA_HOSTS''' is an array of media servers that need to hold the data.
     76
     77the '''MEDIA_URL''' setting is prepended to the rendered locations of media-files. This needs to be a publicly available address.
     78
     79= dex-content1 =
     80
     81== NGINX ==
     82
     83