Compare commits

...

1 Commits

Author SHA1 Message Date
028eb5f102 mestsa005.infineon.com 2023-05-10 20:09:46 -07:00
8 changed files with 40 additions and 105 deletions

View File

@ -1 +0,0 @@
location / { proxy_pass http://localhost:5006; }

View File

@ -1,23 +0,0 @@
location /
{
proxy_pass http://localhost:5555;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection keep-alive;
proxy_set_header Host $http_host;
proxy_cache_bypass $http_upgrade;
}
# 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
# }

View 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
#

View File

@ -1 +0,0 @@
location / { proxy_pass http://localhost:5004; }

View File

@ -1,24 +0,0 @@
# location ~ /admin(.*)/$ {
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;
# mklink /J "D:\Tmp\Phares\www\pictures" "D:\Documents\Pictures"
# mklink /J "D:\Tmp\Phares\www\NGINdeX.io" "L:\GitHub\NGINdeX.io"
root "D://Tmp//phares//www";
}
location / {
index index.html index.htm;
# mklink /J "D:\Tmp\Phares\www\pictures" "D:\Documents\Pictures"
# mklink /J "D:\Tmp\Phares\www\NGINdeX.io" "L:\GitHub\NGINdeX.io"
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;
}

View File

@ -1,4 +1,3 @@
location / { location / {
root "D://www"; root "D:\\Tmp\\Phares\\www";
index index.html index.htm;
} }

View File

@ -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;
} }

View File

@ -1,60 +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 5050; listen 5050;
server_name localhost; server_name localhost;
include "includes/html.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;
include "includes/www.conf";
}
server {
listen 5052;
server_name localhost;
include "includes/json.conf";
}
server {
listen 5053;
server_name localhost;
include "includes/ProgramData.conf";
}
server {
listen 8080;
server_name ~(oi-metrology-viewer-archive).mes.infineon.com;
location / { location / {
include "includes/Archive.conf"; root html;
index index.html index.htm;
}
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root html;
} }
} }
server { server {
listen 8080; listen 80;
server_name ~(oi-metrology-viewer-prod).mes.infineon.com; server_name localhost;
location / { location / {
include "includes/Viewer.conf"; proxy_pass http://localhost:5002; #APC Viewer
} }
}
server {
listen 8088;
server_name *.mes.infineon.com;
include "includes/EAF-Viewer.Server.conf";
} }
} }
# mklink /J "C:\Users\phares\AppData\Local\IFXApps\nginx-1.20.1\conf" "L:\Git\NGINX-Conf\conf" #cd "C:\Users\MESYODASVC\AppData\Local\IFXApps\nginx-1.20.1"
# cd "C:\Users\ECMESEAF\AppData\Local\IFXApps\nginx-1.20.1" #nginx -t
# .\nginx -t #nginx -s reload
# .\nginx -s reload #
#sc stop "APC Viewer 5002"
#
#sc delete "APC Viewer 5002"
#
#http://localhost:5002/Home/Background?APC