Compare commits

...

1 Commits

Author SHA1 Message Date
d92a94db3f mestsa03ec.ec.local 2023-05-10 20:01:25 -07:00
10 changed files with 12 additions and 95 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

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

View File

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

View File

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

View File

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

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 / {
root "D://www";
index index.html index.htm;
root "D:\\Tmp\\Phares\\www";
}

View File

@ -94,8 +94,4 @@ types {
video/x-ms-asf asx asf;
video/x-ms-wmv wmv;
video/x-msvideo avi;
application/x-ms-application application;
application/x-ms-manifest manifest;
application/octet-stream deploy;
}

View File

@ -15,46 +15,16 @@ http {
include "includes/html-error.conf";
}
server {
listen 4430;
server_name iscn5cg1325c0x.infineon.com;
include "includes/BaGet.conf";
listen 80;
server_name mestsa03ec;
include "includes/YODA Viewer.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 / {
include "includes/Archive.conf";
listen 80;
server_name mestsa03ec.ec.local;
include "includes/Mesa GoTo Viewer.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";
}
}
# mklink /J "C:\Users\phares\AppData\Local\IFXApps\nginx-1.20.1\conf" "L:\Git\NGINX-Conf\conf"
# cd "C:\Users\ECMESEAF\AppData\Local\IFXApps\nginx-1.20.1"
#cd "C:\Users\ECYODASvc\AppData\Local\IFXApps\nginx-1.20.1"
#.\nginx -t
#.\nginx -s reload