Changes between Version 8 and Version 9 of ProductieStappen
- Timestamp:
- 01/14/15 15:42:58 (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ProductieStappen
v8 v9 37 37 == NGINX == 38 38 39 Nginx provides a web-server that is used to serve static content and forward requests to the uwsgi servers running the actual website application 39 Nginx provides a web-server that is used to serve static content and forward requests to the uwsgi servers running the actual website application. 40 41 Nginx runs as a docker instance. 40 42 41 43 Full nginx configuration can be found in [source:services/trunk/production/dex-app1/nginx] … … 43 45 == UWSGI == 44 46 45 This container runs the actual website code . The current website code needs to be installed in /var/o2eappserver/fig/website. This directory is available as /code inside the docker image. (Further paths in this section will be specific to the docker instance)47 This container runs the actual website code as a docker container. The current website code needs to be installed in /var/o2eappserver/fig/website. This directory is available as /code inside the docker image. (Further paths in this section will be specific to the docker instance) 46 48 47 49 The website as checked out from svn will not work properly due to missing settings. In order to create a working setup a settings_local.py file needs to be installed in /code/website/conf. The file [source:website/trunk/website/conf/production/settings_live.py] provides a template for this file … … 104 106 = dex-content1 = 105 107 108 This is the physical machine hosting the content server 109 106 110 == NGINX == 107 111 108 The media-serving capabilities are implemented entirely in the built-in webdav functionality of nginx. The only necessary configuration that is necessary is registration of the IP-addresses of the application servers. These IP-addresses are allowed to do write operations on the media-server. A template for the configuration file is given in [source:services/trunk/production/dex-content1/config/conf.d/webdav.conf]. The editable part is the access-list: 112 The media-serving capabilities are implemented entirely in the built-in webdav functionality of nginx. 113 114 Nginx runs as a docker instance. 115 116 The only necessary configuration that is necessary is registration of the IP-addresses of the application servers. These IP-addresses are allowed to do write operations on the media-server. A template for the configuration file is given in [source:services/trunk/production/dex-content1/config/conf.d/webdav.conf]. The editable part is the access-list: 109 117 110 118 [[IncludeSource(services/trunk/production/dex-content1/config/conf.d/webdav.conf,start=21,end=26)]] 111 119 120 = gatekeeper1 = 121 122 On this physical machine the single-sign-on server is running 123 124 == sso == 125 126 SSO runs as a docker container. Information is here: https://svn.3xo.tudelft.nl/trac/sso/browser/trunk/server/readme