Changes between Version 6 and Version 7 of NGINX HowTo Install Using Docker


Ignore:
Timestamp:
10/05/16 16:03:33 (8 years ago)
Author:
saj.issa
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • NGINX HowTo Install Using Docker

    v6 v7  
    35355. Create a directory /share/cert/live ensure the files .cer .csr .key already exist. If not read [[NGINX Generate SSL Certificate]]
    3636
    37 5. Configure /share/nginx.conf as necessary to include files and other application forwards.
     376. Configure /share/nginx.conf as necessary to include files and set client direct requests to the appropriate backend webapps.
    3838
    39 6. Build container
     397. Build container
    4040
    4141    {{{sudo docker build -t lcbruit/nginx_ssl:v1.1 .}}}
     
    4343sudo docker run -d -p 80:80 -p 443:443 -e 'DH_SIZE=512' -v /share:/etc/nginx/external/ lcbruit/nginx_ssl:v1.1
    4444
    45 7. To build the image :
     458. To build the image :
    4646
    4747sudo docker build -t lcbruit/nginx_ssl:v1.1 .
    4848
    49 8. To run the docker container :
     499. To run the docker container :
    5050
    5151    {{{sudo docker run -d -p 80:80 -p 443:443 -e 'DH_SIZE=512' -v /share:/etc/nginx/external/ lcbruit/nginx_ssl:v1.1}}}
    5252
    53 9. Test Nginx :
     5310. Test Nginx :
    5454
    5555    {{{http://XXXXXXXXXXXXXX.xuhl-tr.nhs.uk}}}