Class DiscordIngressProxyHelpers
- Namespace
- DisCatSharp.Hosting.AspNetCore.Deployment
- Assembly
- DisCatSharp.Hosting.AspNetCore.dll
Generates starter reverse-proxy configuration snippets for the DisCatSharp ASP.NET Core ingress surface.
public static class DiscordIngressProxyHelpers
- Inheritance
-
DiscordIngressProxyHelpers
- Inherited Members
Remarks
The generated snippets intentionally preserve the package's default routing behavior by forwarding the
entire ingress surface and the X-Forwarded-Prefix header expected by the URL helpers.
Methods
- CreateApacheConfig(Uri, Uri, DiscordAspNetCoreIngressOptions?)
Creates an Apache httpd configuration snippet that forwards the public ingress surface to the ASP.NET Core app.
- CreateDockerCaddyConfig(Uri, string, int, DiscordAspNetCoreIngressOptions?, Uri?)
Creates a Caddy configuration snippet tailored for a Docker network where the ASP.NET Core app is addressed by service name.
- CreateDockerNginxConfig(Uri, string, int, DiscordAspNetCoreIngressOptions?)
Creates an NGINX configuration snippet tailored for a Docker network where the ASP.NET Core app is addressed by service name.
- CreateNginxConfig(Uri, Uri, DiscordAspNetCoreIngressOptions?)
Creates an NGINX configuration snippet that forwards the public ingress surface to the ASP.NET Core app.
- CreateTraefikDockerLabels(Uri, string, int, DiscordAspNetCoreIngressOptions?, Uri?)
Creates Traefik Docker labels that route the public ingress surface to the ASP.NET Core container.