aboutsummaryrefslogtreecommitdiffstats
path: root/cdt/src/main/resources/nginx.conf
diff options
context:
space:
mode:
Diffstat (limited to 'cdt/src/main/resources/nginx.conf')
-rw-r--r--cdt/src/main/resources/nginx.conf27
1 files changed, 27 insertions, 0 deletions
diff --git a/cdt/src/main/resources/nginx.conf b/cdt/src/main/resources/nginx.conf
new file mode 100644
index 0000000..61b5da8
--- /dev/null
+++ b/cdt/src/main/resources/nginx.conf
@@ -0,0 +1,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;
+ }
+ }
+} \ No newline at end of file