nginx-conf/conf/includes/BaGet.conf
Mike Phares 1d8b2cfa65 flop dex
EDA
mestsa07ec.ec.local
Gogs
proxy_set_header X-Forwarded-Proto https;
ssl
2023-09-18 16:04:59 -07:00

23 lines
994 B
Plaintext

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