Compare commits
1 Commits
034E8FF1ED
...
mestsa006.
Author | SHA1 | Date | |
---|---|---|---|
cc4a0f6bd3 |
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": {
|
||||
"**/.git": false
|
||||
},
|
||||
"coverage-gutters.coverageBaseDir": "./.vscode/ReportGenerator/Cobertura/*",
|
||||
"thunder-client.saveToWorkspace": false
|
||||
"coverage-gutters.coverageBaseDir": "./.vscode/ReportGenerator/Cobertura/*"
|
||||
}
|
@ -1 +0,0 @@
|
||||
location / { proxy_pass http://localhost:5006; }
|
@ -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
|
||||
# }
|
@ -1 +0,0 @@
|
||||
location / { proxy_pass http://localhost:5006; }
|
1
conf/includes/Mesa GoTo Viewer.conf
Normal file
1
conf/includes/Mesa GoTo Viewer.conf
Normal file
@ -0,0 +1 @@
|
||||
location / { proxy_pass http://localhost:5010; }
|
@ -1 +0,0 @@
|
||||
location / { proxy_pass http://localhost:5004; }
|
1
conf/includes/YODA Viewer.conf
Normal file
1
conf/includes/YODA Viewer.conf
Normal file
@ -0,0 +1 @@
|
||||
location / { proxy_pass http://localhost:5002; }
|
@ -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;
|
||||
}
|
@ -1,4 +1,3 @@
|
||||
location / {
|
||||
root "D://www";
|
||||
index index.html index.htm;
|
||||
root "D:\\Tmp\\Phares\\www";
|
||||
}
|
@ -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;
|
||||
}
|
||||
|
@ -3,19 +3,33 @@ events {
|
||||
worker_connections 1024;
|
||||
}
|
||||
http {
|
||||
sendfile on;
|
||||
keepalive_timeout 65;
|
||||
include "includes/mime.types";
|
||||
default_type application/octet-stream;
|
||||
sendfile on;
|
||||
keepalive_timeout 65;
|
||||
server {
|
||||
listen 8080;
|
||||
server_name _;
|
||||
listen 5050;
|
||||
server_name localhost;
|
||||
include "includes/html.conf";
|
||||
error_page 500 502 503 504 /50x.html;
|
||||
include "includes/html-error.conf";
|
||||
location / {
|
||||
root "V:/7-Question";
|
||||
autoindex on;
|
||||
autoindex_format json;
|
||||
}
|
||||
}
|
||||
}
|
||||
server {
|
||||
listen 5051;
|
||||
server_name localhost;
|
||||
include "includes/www.conf";
|
||||
}
|
||||
server {
|
||||
listen 80;
|
||||
server_name yoda-dev.*;
|
||||
include "includes/YODA Viewer.conf";
|
||||
}
|
||||
server {
|
||||
listen 80;
|
||||
server_name goto-dev.*;
|
||||
include "includes/Mesa GoTo Viewer.conf";
|
||||
}
|
||||
}
|
||||
#cd "C:\Users\MESYODASVC\AppData\Local\IFXApps\nginx-1.20.1"
|
||||
#.\nginx -t
|
||||
#.\nginx -s reload
|
Reference in New Issue
Block a user