Compare commits

..

1 Commits

Author SHA1 Message Date
fbfb1d0482 ssl 2023-09-18 16:09:53 -07:00
7 changed files with 67 additions and 35 deletions

View File

@ -0,0 +1,4 @@
location / {
root "D://Websites//Expose-MyIT//ClassDiagram";
try_files $uri $uri/ /index.html =404;
}

View File

@ -0,0 +1,4 @@
location / {
root "D://Websites//Expose-MyIT//Coverage";
try_files $uri $uri/ /index.html =404;
}

View File

@ -1,8 +0,0 @@
location / {
proxy_hide_header Authorization;
if ($http_Authorization != "Basic asdf") {
return 401;
}
proxy_set_header Authorization "Basic asdf";
proxy_pass http://localhost:3000;
}

View File

@ -15,7 +15,7 @@ location / {
# root /var/www/html/637998119172547651;
# mklink /J "D:\Tmp\Phares\www\pictures" "D:\Documents\Pictures"
# mklink /J "D:\Tmp\Phares\www\NGINdeX.io" "L:\GitHub\NGINdeX.io"
root "C://4p_W7a";
root "D://Tmp//phares//www";
# First attempt to serve request as file, then
autoindex on;
# Send the data in JSON

View File

@ -17,7 +17,7 @@ organizationName_default = Infineon Technologies Americas Corp.
organizationalUnitName = organizationalunit
organizationalUnitName_default = Development
commonName = Common Name (e.g. server FQDN or YOUR name)
commonName_default = example.com
commonName_default = mestsa008.infineon.com
commonName_max = 64
[req_ext]
@ -27,7 +27,7 @@ subjectAltName = @alt_names
subjectAltName = @alt_names
[alt_names]
DNS.1 = example.com
DNS.1 = mestsa008.infineon.com
DNS.2 = localhost
DNS.3 = 127.0.0.1

View File

@ -0,0 +1,4 @@
location / {
root "D://Websites//Expose-MyIT//Client//wwwroot";
try_files $uri $uri/ /index.html =404;
}

View File

@ -7,6 +7,24 @@ http {
default_type application/octet-stream;
sendfile on;
keepalive_timeout 65;
# server {
# 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_protocols TLSv1.2 TLSv1.1 TLSv1;
# # include "includes/html.conf";
# include "includes/BaGet.conf";
# error_page 500 502 503 504 /50x.html;
# include "includes/html-error.conf";
# }
# server {
# listen 4430;
# server_name iscn5cg1325c0x.infineon.com;
# include "includes/BaGet.conf";
# }
server {
listen 5051;
server_name localhost;
@ -17,42 +35,52 @@ http {
server_name localhost;
include "includes/dex.conf";
}
# server {
# listen 5053;
# server_name localhost;
# include "includes/ProgramData.conf";
# }
server {
listen 5053;
server_name localhost;
include "includes/ProgramData.conf";
}
server {
listen 80;
listen 5054;
server_name localhost;
include "includes/json.conf";
}
server {
listen 8011;
listen 5055;
server_name localhost;
include "includes/Gogs.conf";
include "includes/wwwroot.conf";
}
server {
listen 8080;
server_name ~(oi-metrology-viewer-archive).mes.infineon.com;
location / {
include "includes/Archive.conf";
}
listen 5056;
server_name localhost;
include "includes/Coverage.conf";
}
server {
listen 8080;
server_name ~(oi-metrology-viewer-prod).mes.infineon.com;
location / {
include "includes/Viewer.conf";
listen 5057;
server_name localhost;
include "includes/ClassDiagram.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";
# }
}
server {
listen 8088;
server_name *.mes.infineon.com;
include "includes/EAF-Viewer.Server.conf";
}
}
# mklink /J "C:\Users\mikep\AppData\Local\PharesApps\nginx-1.20.1\conf" "L:\Git\NGINX-Conf\conf"
# mklink /J "C:\Users\MESFISysAdmin\AppData\Local\IFXApps\nginx-1.20.1\conf" "L:\Git\NGINX-Conf\conf"
# cd "C:\Users\ECMESEAF\AppData\Local\IFXApps\nginx-1.20.1"
# .\nginx -t
# .\nginx -s reload