Changes between Version 7 and Version 8 of NGINX HowTo Install Using Docker
- Timestamp:
- 10/05/16 16:05:28 (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
NGINX HowTo Install Using Docker
v7 v8 37 37 6. Configure /share/nginx.conf as necessary to include files and set client direct requests to the appropriate backend webapps. 38 38 39 7. Build container39 7. To build the image : 40 40 41 41 {{{sudo docker build -t lcbruit/nginx_ssl:v1.1 .}}} 42 42 43 sudo docker run -d -p 80:80 -p 443:443 -e 'DH_SIZE=512' -v /share:/etc/nginx/external/ lcbruit/nginx_ssl:v1.1 44 45 8. To build the image : 46 47 sudo docker build -t lcbruit/nginx_ssl:v1.1 . 48 49 9. To run the docker container : 43 8. To run the docker container : 50 44 51 45 {{{sudo docker run -d -p 80:80 -p 443:443 -e 'DH_SIZE=512' -v /share:/etc/nginx/external/ lcbruit/nginx_ssl:v1.1}}} 52 46 53 10. Test Nginx :47 9. Test Nginx : 54 48 55 49 {{{http://XXXXXXXXXXXXXX.xuhl-tr.nhs.uk}}}