-
Does anyone have an Apache documentation on Linux or an example? |
Beta Was this translation helpful? Give feedback.
Replies: 7 comments 3 replies
-
Have you tried these? https://docs.microsoft.com/en-us/aspnet/core/host-and-deploy/linux-apache?view=aspnetcore-3.1 |
Beta Was this translation helpful? Give feedback.
-
Yes, but I will doublecheck, maybe I missed something - obviously. |
Beta Was this translation helpful? Give feedback.
-
I really don't know what I am doing when it comes to Apache and reverse proxy. I have this running on IIS, but can not get it to work on Apache on Linux. Getting the 404 error. here's my /etc/httpd/conf.d/wsiproxy.conf <VirtualHost *:80> here's my appsettings.json {
} |
Beta Was this translation helpful? Give feedback.
-
I am trying to use YARP on Linux.
This is working on the intranet with YARP installed on IIS. So how do I set this up? Is there any documentation to help me with that? Thank You |
Beta Was this translation helpful? Give feedback.
-
Thanks for your help. public static IHostBuilder CreateHostBuilder(string[] args) => |
Beta Was this translation helpful? Give feedback.
-
@Tratcher - should we change the docs for our sample to make this clearer that its only allowing connections from localhost? It seems that this is part of the ASP.NET project template, and may not be obvious to people as they move from local machine to deployment scenarios. |
Beta Was this translation helpful? Give feedback.
-
That would help people like me because I had no idea about this so I couldn't even search for this because I did not know what to search for. For seasoned people would be just an obvious statement. Thank You. |
Beta Was this translation helpful? Give feedback.
Thanks for your help.
I figured it out. The problem was I had to tell Kestrel to accept requests from other IPs besides the localhost
public static IHostBuilder CreateHostBuilder(string[] args) =>
Host.CreateDefaultBuilder(args)
.ConfigureWebHostDefaults(webBuilder =>
{
webBuilder.UseUrls("http://0.0.0.0:5000").UseStartup();
});