From 22e179840ba788e4f22e35f1ff3fe9c22fa4d4d8 Mon Sep 17 00:00:00 2001 From: Mike Phares Date: Thu, 6 Mar 2025 12:43:30 -0700 Subject: [PATCH] 443 --- conf/includes/json.conf | 4 ++-- conf/nginx.conf | 9 ++++++++- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/conf/includes/json.conf b/conf/includes/json.conf index 7823e11..aa7a27e 100644 --- a/conf/includes/json.conf +++ b/conf/includes/json.conf @@ -1,12 +1,12 @@ location ~* .(3gp|apng|avi|avif|bmp|css|cur|flv|gif|htm|html|ico|jfif|jpeg|jpg|js|mid|mov|mp3|mp4|mpeg|mpg|ogg|pdf|php|pjp|pjpeg|png|svg|tif|tiff|ttf|txt|wav|webp|wmf|wml|wmv|xml|xml)$ { expires 1d; index index.html index.htm; - root "D://Tmp//phares//www"; + root "L://DevOps"; } location / { index index.html index.htm; # root /var/www/html/637998119172547651; - root "D://Tmp//phares//www"; + root "L://DevOps"; # First attempt to serve request as file, then autoindex on; # Send the data in JSON diff --git a/conf/nginx.conf b/conf/nginx.conf index e114a9f..edc758b 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -39,8 +39,15 @@ http { include "includes/ProgramData.conf"; } server { - listen 5054; + # listen 5054; + listen 443 ssl http2; + listen [::]:443 ssl http2; server_name localhost; + # https://localhost + ssl_certificate "includes/iscn5cg3256cps.infineon.com.crt"; + ssl_certificate_key "includes/iscn5cg3256cps.infineon.com.key"; + # ssl_password_file "includes/iscn5cg3256cps.infineon.com.pass"; + ssl_protocols TLSv1.2 TLSv1.1 TLSv1; include "includes/json.conf"; } server {