Compare commits
1 Commits
ISCN5CG325
...
mestsa005.
Author | SHA1 | Date | |
---|---|---|---|
028eb5f102 |
1
.gitignore
vendored
1
.gitignore
vendored
@ -1 +0,0 @@
|
|||||||
nginx-1.20.1
|
|
3
.vscode/settings.json
vendored
3
.vscode/settings.json
vendored
@ -6,6 +6,5 @@
|
|||||||
"files.exclude": {
|
"files.exclude": {
|
||||||
"**/.git": false
|
"**/.git": false
|
||||||
},
|
},
|
||||||
"coverage-gutters.coverageBaseDir": "./.vscode/ReportGenerator/Cobertura/*",
|
"coverage-gutters.coverageBaseDir": "./.vscode/ReportGenerator/Cobertura/*"
|
||||||
"thunder-client.saveToWorkspace": false
|
|
||||||
}
|
}
|
@ -1 +0,0 @@
|
|||||||
location / { proxy_pass http://localhost:5006; }
|
|
@ -1,23 +0,0 @@
|
|||||||
location / {
|
|
||||||
proxy_http_version 1.1;
|
|
||||||
proxy_cache_bypass $http_upgrade;
|
|
||||||
proxy_pass http://localhost:5555;
|
|
||||||
proxy_set_header Host $http_host;
|
|
||||||
proxy_set_header Connection keep-alive;
|
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
|
||||||
proxy_set_header X-Forwarded-Proto https;
|
|
||||||
}
|
|
||||||
|
|
||||||
# sc create "Baget-5555" start= delayed-auto DisplayName="Baget-5555" binPath= "C:\Users\phares\AppData\Local\IFXApps\BaGet\src\BaGet\bin\Release\net6.0\win-x64\publish\BaGet.exe" obj= "infineon\phares" password= ""
|
|
||||||
|
|
||||||
# $source = "C:\Users\ecphares\.nuget\packages"
|
|
||||||
# $destination = "http://localhost:5555/v3/index.json"
|
|
||||||
# & nuget.exe setapikey "ApiKey" -Source $destination
|
|
||||||
# $packages = nuget list -AllVersions -Source $source
|
|
||||||
# $packages | % {
|
|
||||||
# $id, $version = $_ -Split " "
|
|
||||||
# $nupkg = $id + "." + $version + ".nupkg"
|
|
||||||
# $path = [IO.Path]::Combine($source, $id, $version, $nupkg)
|
|
||||||
# Write-Host "nuget.exe push -Source $destination ""$path"""
|
|
||||||
# & nuget.exe push -Source $destination $path
|
|
||||||
# }
|
|
11
conf/includes/EDA-Viewer.conf
Normal file
11
conf/includes/EDA-Viewer.conf
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
location / {
|
||||||
|
proxy_pass http://localhost:5003; #EDA Viewer#5003
|
||||||
|
}
|
||||||
|
#C:\Users\mesedasvc\AppData\Local\IFXApps\nginx-1.20.1
|
||||||
|
#nginx -t
|
||||||
|
#nginx -s reload
|
||||||
|
#
|
||||||
|
#sc stop "EDA Viewer 5003"
|
||||||
|
#sc delete "EDA Viewer 5003"
|
||||||
|
#http://localhost:5003/Home/Background/?EDAViewer
|
||||||
|
#
|
@ -1 +0,0 @@
|
|||||||
location / { proxy_pass http://localhost:5004; }
|
|
@ -1,8 +0,0 @@
|
|||||||
server {
|
|
||||||
listen 8008 default_server;
|
|
||||||
listen [::]:8008 default_server;
|
|
||||||
## Trun on /cgi-bin/ support to run CGI apps ##
|
|
||||||
include /etc/nginx/fcgiwrap.conf;
|
|
||||||
root /var/www/html;
|
|
||||||
server_name _;
|
|
||||||
}
|
|
@ -1,21 +0,0 @@
|
|||||||
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 /var/www/html/637998119172547651;
|
|
||||||
root "D://Tmp//phares//www";
|
|
||||||
}
|
|
||||||
location / {
|
|
||||||
index index.html index.htm;
|
|
||||||
# root /var/www/html/637998119172547651;
|
|
||||||
root "D://Tmp//phares//www";
|
|
||||||
# First attempt to serve request as file, then
|
|
||||||
autoindex on;
|
|
||||||
# Send the data in JSON
|
|
||||||
autoindex_format json;
|
|
||||||
addition_types application/json;
|
|
||||||
# Calling from SERVERNAME/autoindex/*
|
|
||||||
add_before_body /NGINdeX.io/header.html;
|
|
||||||
add_after_body /NGINdeX.io/footer.html;
|
|
||||||
# Need to tell that we are sending HTML
|
|
||||||
add_header Content-Type text/html;
|
|
||||||
}
|
|
@ -1,33 +0,0 @@
|
|||||||
[req]
|
|
||||||
default_bits = 2048
|
|
||||||
default_keyfile = localhost.key
|
|
||||||
distinguished_name = req_distinguished_name
|
|
||||||
req_extensions = req_ext
|
|
||||||
x509_extensions = v3_ca
|
|
||||||
|
|
||||||
[req_distinguished_name]
|
|
||||||
countryName = Country Name (2 letter code)
|
|
||||||
countryName_default = US
|
|
||||||
stateOrProvinceName = State or Province Name (full name)
|
|
||||||
stateOrProvinceName_default = Arizona
|
|
||||||
localityName = Locality Name (eg, city)
|
|
||||||
localityName_default = Mesa
|
|
||||||
organizationName = Organization Name (eg, company)
|
|
||||||
organizationName_default = Infineon Technologies Americas Corp.
|
|
||||||
organizationalUnitName = organizationalunit
|
|
||||||
organizationalUnitName_default = Development
|
|
||||||
commonName = Common Name (e.g. server FQDN or YOUR name)
|
|
||||||
commonName_default = iscn5cg3256cps.infineon.com
|
|
||||||
commonName_max = 64
|
|
||||||
|
|
||||||
[req_ext]
|
|
||||||
subjectAltName = @alt_names
|
|
||||||
|
|
||||||
[v3_ca]
|
|
||||||
subjectAltName = @alt_names
|
|
||||||
|
|
||||||
[alt_names]
|
|
||||||
DNS.1 = iscn5cg3256cps.infineon.com
|
|
||||||
DNS.2 = iscn5cg3256cps
|
|
||||||
DNS.3 = localhost
|
|
||||||
DNS.4 = 127.0.0.1
|
|
@ -1,25 +0,0 @@
|
|||||||
-----BEGIN CERTIFICATE-----
|
|
||||||
MIIEMTCCAxmgAwIBAgIUUi/nacInzoq78JsuzLhWssBY2iQwDQYJKoZIhvcNAQEL
|
|
||||||
BQAwgZkxCzAJBgNVBAYTAlVTMRAwDgYDVQQIDAdBcml6b25hMQ0wCwYDVQQHDARN
|
|
||||||
ZXNhMS0wKwYDVQQKDCRJbmZpbmVvb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
A4IBAQCEUC+V5X5Yn5FuuRCA0ZRvUHXS5VDC5MV0XJ06ZyL3JuEFsvl/eSb6e2/d
|
|
||||||
zMQXKVRhkwOuuk/9YFrA+AkVlfdjLsJhDUjluQLAl3XfEFkQ2VcD8aMn8YSmX4Uu
|
|
||||||
jMvOOK+82QNjseYk5T9hi86RwYBVLHORSsop4zzk4kPBIzqHB2jNQKVyMU1O0DMD
|
|
||||||
Sanaupg9+SJRmkhxJ7UuAZ5V7SPI1E90FH2zZG4XAxVNb1R0j8XSK8kXTZAOWzJe
|
|
||||||
2JVAjpEvhBkDXigF3tc9EOSlgEzIVUak1FGane5aj7fWoasV5Jp2JI58MDZhi2gw
|
|
||||||
6anI6RJpw7XkqPGODNlMJwjdfqHD
|
|
||||||
-----END CERTIFICATE-----
|
|
@ -1,28 +0,0 @@
|
|||||||
-----BEGIN PRIVATE KEY-----
|
|
||||||
MIIEvwIBADANBgkqhkiG9w0BAQEFAASCBKkwggSlAgEAAoIBAQCmJ0fYSgggQrxD
|
|
||||||
XeJ69EXCrMYkr1iZxfrbenbcXb0UBXNNSUxbrJcgPH799x7yIvIZTRdB/a97TEPB
|
|
||||||
tHEdxYZeDoq8jkYO5A0irxw93ZusPdeWtPE8LpgtfgO7vZAeN1sK8bKqAgH5pvrd
|
|
||||||
BdJyqh43rvJLzK9rM3LtPMacLyRrt2KNVa2h5V/9+gVSy4Ndi1JXuAOIMA94CCYo
|
|
||||||
1zgjpMZD5B8e8u5iVCAa7a0PTtTN7ux939jRe8r8IHSutbRx0EOgiE+lKdUyMKz8
|
|
||||||
G9t/z10lPh7/W62Bjknq5o2lMrOnTbLAlOslP/S+2dwu0KRaJr/jSDUNKKa2tQgB
|
|
||||||
03eam+WBAgMBAAECggEABOjCdUwrrQtXvWxR16TtxjydXqJdLW71dGRsDGMLJgMq
|
|
||||||
ttkAc/F3piTPckDJ1ejtKwz1b9ZXZ97XHisvD+yBBbirhfp0rLY1gqW2oYfRlI9f
|
|
||||||
tjTar1b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gbV/eklbed
|
|
||||||
/BBwn3VOTE1dF5VHdByw6hjWj5XYQdOyV+4Z730kq4/6IB++D4fjpHoshn9KQglU
|
|
||||||
k9HyQCMgK19D3E6myR4QrihTP2KSFd+9iZvjdsnkIe8w1G2M3pa0HEdhvgNuEtBE
|
|
||||||
GuJz6eYUx58snpX/mO4yNPinlA==
|
|
||||||
-----END PRIVATE KEY-----
|
|
@ -1,47 +0,0 @@
|
|||||||
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 "L://DevOps";
|
|
||||||
}
|
|
||||||
location / {
|
|
||||||
index index.html index.htm;
|
|
||||||
# root /var/www/html/637998119172547651;
|
|
||||||
root "L://DevOps";
|
|
||||||
# First attempt to serve request as file, then
|
|
||||||
autoindex on;
|
|
||||||
# Send the data in JSON
|
|
||||||
autoindex_format json;
|
|
||||||
# addition_types application/json;
|
|
||||||
# Calling from SERVERNAME/autoindex/*
|
|
||||||
# add_before_body /NGINdeX.io/header.html;
|
|
||||||
# add_after_body /NGINdeX.io/footer.html;
|
|
||||||
# Need to tell that we are sending HTML
|
|
||||||
# add_header Content-Type text/html;
|
|
||||||
if ($request_method = 'OPTIONS') {
|
|
||||||
add_header 'Access-Control-Allow-Origin' '*';
|
|
||||||
add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS';
|
|
||||||
#
|
|
||||||
# Custom headers and headers various browsers *should* be OK with but aren't
|
|
||||||
#
|
|
||||||
add_header 'Access-Control-Allow-Headers' 'DNT,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Range';
|
|
||||||
#
|
|
||||||
# Tell client that this pre-flight info is valid for 20 days
|
|
||||||
#
|
|
||||||
add_header 'Access-Control-Max-Age' 1728000;
|
|
||||||
add_header 'Content-Type' 'text/plain; charset=utf-8';
|
|
||||||
add_header 'Content-Length' 0;
|
|
||||||
return 204;
|
|
||||||
}
|
|
||||||
if ($request_method = 'POST') {
|
|
||||||
add_header 'Access-Control-Allow-Origin' '*' always;
|
|
||||||
add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS' always;
|
|
||||||
add_header 'Access-Control-Allow-Headers' 'DNT,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Range' always;
|
|
||||||
add_header 'Access-Control-Expose-Headers' 'Content-Length,Content-Range' always;
|
|
||||||
}
|
|
||||||
if ($request_method = 'GET') {
|
|
||||||
add_header 'Access-Control-Allow-Origin' '*' always;
|
|
||||||
add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS' always;
|
|
||||||
add_header 'Access-Control-Allow-Headers' 'DNT,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Range' always;
|
|
||||||
add_header 'Access-Control-Expose-Headers' 'Content-Length,Content-Range' always;
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,9 +1,3 @@
|
|||||||
location / {
|
location / {
|
||||||
# root "D://www";
|
root "D:\\Tmp\\Phares\\www";
|
||||||
# root "L://Git//jackyzha0-quartz-phares//public";
|
|
||||||
root "L://DevOps//Mesa_FI//jackyzha0-quartz-infineon//public";
|
|
||||||
index index.html index.htm;
|
|
||||||
location / {
|
|
||||||
try_files $uri $uri.html $uri/ =404;
|
|
||||||
}
|
|
||||||
}
|
}
|
@ -1,4 +0,0 @@
|
|||||||
location / {
|
|
||||||
root "D://wwwroot";
|
|
||||||
try_files $uri $uri/ /index.html =404;
|
|
||||||
}
|
|
@ -94,8 +94,4 @@ types {
|
|||||||
video/x-ms-asf asx asf;
|
video/x-ms-asf asx asf;
|
||||||
video/x-ms-wmv wmv;
|
video/x-ms-wmv wmv;
|
||||||
video/x-msvideo avi;
|
video/x-msvideo avi;
|
||||||
|
|
||||||
application/x-ms-application application;
|
|
||||||
application/x-ms-manifest manifest;
|
|
||||||
application/octet-stream deploy;
|
|
||||||
}
|
}
|
||||||
|
@ -1,58 +1,38 @@
|
|||||||
worker_processes 1;
|
worker_processes 1;
|
||||||
events {
|
events {
|
||||||
worker_connections 1024;
|
worker_connections 1024;
|
||||||
}
|
}
|
||||||
http {
|
http {
|
||||||
include "includes/mime.types";
|
include mime.types;
|
||||||
default_type application/octet-stream;
|
default_type application/octet-stream;
|
||||||
sendfile on;
|
sendfile on;
|
||||||
keepalive_timeout 65;
|
keepalive_timeout 65;
|
||||||
server {
|
server {
|
||||||
# listen 80;
|
listen 5050;
|
||||||
listen 4435 ssl http2;
|
server_name localhost;
|
||||||
listen [::]:4435 ssl http2;
|
location / {
|
||||||
server_name localhost;
|
root html;
|
||||||
# https://localhost
|
index index.html index.htm;
|
||||||
ssl_certificate "includes/iscn5cg3256cps.infineon.com.crt";
|
}
|
||||||
ssl_certificate_key "includes/iscn5cg3256cps.infineon.com.key";
|
error_page 500 502 503 504 /50x.html;
|
||||||
# ssl_password_file "includes/iscn5cg3256cps.infineon.com.pass";
|
location = /50x.html {
|
||||||
ssl_protocols TLSv1.2 TLSv1.1 TLSv1;
|
root html;
|
||||||
# include "includes/html.conf";
|
}
|
||||||
include "includes/BaGet.conf";
|
|
||||||
error_page 500 502 503 504 /50x.html;
|
|
||||||
include "includes/html-error.conf";
|
|
||||||
# include "includes/github.conf";
|
|
||||||
}
|
}
|
||||||
server {
|
server {
|
||||||
listen 5051;
|
listen 80;
|
||||||
server_name localhost;
|
server_name localhost;
|
||||||
include "includes/www.conf";
|
location / {
|
||||||
|
proxy_pass http://localhost:5002; #APC Viewer
|
||||||
|
}
|
||||||
}
|
}
|
||||||
server {
|
}
|
||||||
listen 5052;
|
#cd "C:\Users\MESYODASVC\AppData\Local\IFXApps\nginx-1.20.1"
|
||||||
server_name localhost;
|
#nginx -t
|
||||||
include "includes/dex.conf";
|
#nginx -s reload
|
||||||
}
|
#
|
||||||
server {
|
#sc stop "APC Viewer 5002"
|
||||||
listen 5053;
|
#
|
||||||
server_name localhost;
|
#sc delete "APC Viewer 5002"
|
||||||
include "includes/ProgramData.conf";
|
#
|
||||||
}
|
#http://localhost:5002/Home/Background?APC
|
||||||
server {
|
|
||||||
# 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 {
|
|
||||||
listen 5055;
|
|
||||||
server_name localhost;
|
|
||||||
include "includes/wwwroot.conf";
|
|
||||||
}
|
|
||||||
}
|
|
Reference in New Issue
Block a user