Changes for cdt over https
[appc/deployment.git] / cdt / src / main / resources / nginx.conf
1 # For more information on configuration, see:
2 #   * Official English Documentation: http://nginx.org/en/docs/
3 #   * Official Russian Documentation: http://nginx.org/ru/docs/
4
5 user nginx;
6 worker_processes auto;
7 error_log /var/log/nginx/error.log;
8 pid /run/nginx.pid;
9
10 # Load dynamic modules. See /usr/share/nginx/README.dynamic.
11 include /usr/share/nginx/modules/*.conf;
12
13 events {
14     worker_connections 1024;
15 }
16
17 http {
18     server {
19         listen 18080 ssl;
20         server_name cdt;
21         ssl_certificate /opt/cert/cdt-cert.pem;
22         ssl_certificate_key /opt/cert/cdt-key.pem;
23         location / {
24             root /opt/cdt;
25         }
26     }
27 }