Progmasoft Git

progmaweb

The site and account service of Progmasoft: a Next.js frontend and an ASP.NET Core API.

Clonegit clone https://git.progmasoft.com/progmaweb

Let the API answer for viget.progmasoft.com

Nginx passes https://viget.progmasoft.com/dslplugins/tazel/<Publisher>/<Name>/index.json
to the API with the host of the request, and host filtering refused it with
400: viget.progmasoft.com was missing from AllowedHosts. The index is what
Tazel reads to download a plugin.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Commit
06b384e0b46aa74c36e48dbe86e0e453d975d012
Author
Leitwolf11 ·
Parents
4b414909ac81

Files · Download .tar.gz

Changes

 apps/api/appsettings.json | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/apps/api/appsettings.json b/apps/api/appsettings.json
index 4ddc9e9..401913e 100644
--- a/apps/api/appsettings.json
+++ b/apps/api/appsettings.json
@@ -5,7 +5,7 @@
       "Microsoft.AspNetCore": "Warning"
     }
   },
-  "AllowedHosts": "localhost;127.0.0.1;progmasoft.com;account.progmasoft.com;www.progmasoft.com;credentials.progmasoft.com;authorize.progmasoft.com;console.progmasoft.com",
+  "AllowedHosts": "localhost;127.0.0.1;progmasoft.com;account.progmasoft.com;www.progmasoft.com;credentials.progmasoft.com;authorize.progmasoft.com;console.progmasoft.com;viget.progmasoft.com",
   "AccountSessions": {
     "LifetimeHours": 720,
     "CookieName": "__Secure-ProgmasoftSession",