aboutsummaryrefslogtreecommitdiffstats
path: root/cdt/src/main/resources/nginx.conf
blob: 61b5da873f854bc5111706e1a8704f31b54f05b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# For more information on configuration, see:
#   * Official English Documentation: http://nginx.org/en/docs/
#   * Official Russian Documentation: http://nginx.org/ru/docs/

user nginx;
worker_processes auto;
error_log /var/log/nginx/error.log;
pid /run/nginx.pid;

# Load dynamic modules. See /usr/share/nginx/README.dynamic.
include /usr/share/nginx/modules/*.conf;

events {
    worker_connections 1024;
}

http {
    server {
        listen 18080 ssl;
        server_name cdt;
        ssl_certificate /opt/cert/cdt-cert.pem;
        ssl_certificate_key /opt/cert/cdt-key.pem;
        location / {
            root /opt/cdt;
        }
    }
}