Compare commits

..

1 Commits

Author SHA1 Message Date
47222b1d6c ssl 2023-09-18 16:11:14 -07:00
5 changed files with 20 additions and 46 deletions

2
.gitignore vendored
View File

@ -1,4 +1,2 @@
conf/includes/localhost.crt
conf/includes/localhost.key
conf/includes/ec-server.key
conf/includes/ec-server.crt

View File

@ -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|txt|wav|webp|wmf|wml|wmv|xml|xml)$ {
expires 1d;
index index.html index.htm;
root "D://Tmp//phares//www";
root "C://SAM_2.1.10//Result";
}
location / {
index index.html index.htm;
# root /var/www/html/637998119172547651;
root "D://Tmp//phares//www";
root "C://SAM_2.1.10//Result";
# First attempt to serve request as file, then
autoindex on;
# Send the data in JSON

View File

@ -1,4 +1,4 @@
location / {
root "D://www";
root "C://SAM_2.1.10//Result";
index index.html index.htm;
}

View File

@ -1,4 +1,4 @@
location / {
root "D://wwwroot";
root "C://SAM_2.1.10//Result";
try_files $uri $uri/ /index.html =404;
}

View File

@ -8,17 +8,17 @@ http {
sendfile on;
keepalive_timeout 65;
server {
# listen 80;
listen 443 ssl http2;
listen [::]:443 ssl http2;
listen 80;
# listen 443 ssl http2;
# listen [::]:443 ssl http2;
server_name localhost;
# ssl_certificate "includes/localhost.crt";
# ssl_certificate_key "includes/localhost.key";
# ssl_certificate "includes/ec-server.cer";
ssl_certificate "includes/ec-server.crt";
ssl_certificate_key "includes/ec-server.key";
ssl_password_file "includes/ec-server.pass";
ssl_protocols TLSv1.2 TLSv1.1 TLSv1;
# ssl_certificate "includes/ec-server.crt";
# ssl_certificate_key "includes/ec-server.key";
# ssl_password_file "includes/ec-server.pass";
# ssl_protocols TLSv1.2 TLSv1.1 TLSv1;
# include "includes/html.conf";
include "includes/BaGet.conf";
error_page 500 502 503 504 /50x.html;
@ -55,52 +55,28 @@ http {
server_name localhost;
include "includes/wwwroot.conf";
}
server {
listen 8011;
server_name localhost;
include "includes/Gogs.conf";
}
# server {
# listen 8080;
# server_name ~(oi-metrology-viewer-archive).mes.infineon.com;
# location / {
# include "includes/Archive.conf";
# }
# }
# server {
# listen 8080;
# server_name ~(oi-metrology-viewer-prod).mes.infineon.com;
# location / {
# include "includes/Viewer.conf";
# }
# }
server {
listen 8088;
server_name *.mes.infineon.com;
include "includes/EAF-Viewer.Server.conf";
}
}
# mkdir "L:\DevOps\Mesa_FI"
# cd "L:\DevOps\Mesa_FI"
# git clone https://tfs.intra.infineon.com/tfs/ManufacturingIT/Mesa_FI/_git/NGINX-Conf
# -
# rmdir /s "C:\Users\phares\AppData\Local\IFXApps\nginx-1.20.1\conf"
# mklink /J "C:\Users\phares\AppData\Local\IFXApps\nginx-1.20.1\conf" "L:\DevOps\Mesa_FI\NGINX-Conf\conf"
# rmdir /s "C:\Users\Administrator\AppData\Local\IFXApps\nginx-1.20.1\conf"
# mklink /J "C:\Users\Administrator\AppData\Local\IFXApps\nginx-1.20.1\conf" "L:\Git\NGINX-Conf\conf"
# -
# As administrator
# -
# cd "C:\Users\phares\AppData\Local\IFXApps\nssm-2.24\win64"
# cd "C:\Users\Administrator\AppData\Local\IFXApps\nssm-2.24\win64"
# nssm install "nginx"
# -
# C:\Users\phares\AppData\Local\IFXApps\nginx-1.20.1\nginx.exe
# C:\Users\phares\AppData\Local\IFXApps\nginx-1.20.1
# C:\Users\Administrator\AppData\Local\IFXApps\nginx-1.20.1\nginx.exe
# C:\Users\Administrator\AppData\Local\IFXApps\nginx-1.20.1
# -
# start nginx
# C:\Users\phares\AppData\Local\IFXApps\nginx-1.20.1\logs\service.out.log
# C:\Users\phares\AppData\Local\IFXApps\nginx-1.20.1\logs\service.error.log
# C:\Users\Administrator\AppData\Local\IFXApps\nginx-1.20.1\logs\service.out.log
# C:\Users\Administrator\AppData\Local\IFXApps\nginx-1.20.1\logs\service.error.log
# -
# mklink /J "D:\Tmp\Phares\www\pictures" "D:\Documents\Pictures"
# mklink /J "D:\Tmp\Phares\www\NGINdeX.io" "L:\DevOps\Mesa_FI\NGINdeX.io"
# mklink /J "D:\Tmp\Phares\www\NGINdeX.io" "L:\Git\NGINdeX.io"
# mklink /J "D:\Tmp\Phares\www\pictures" "D:\Documents\Pictures"
# mklink /J "D:\Tmp\Phares\www\NGINdeX.io" "L:\DevOps\Mesa_FI\NGINdeX.io"
# -