443
This commit is contained in:
parent
edd3b82e65
commit
22e179840b
@ -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
|
||||
|
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user