Hi;
I’m trying to deploy a relatively simple web page application that I’d like to run under nginx on ubuntu 22.04.3 LTS. Like the previous poster who had problems with this, I think I’ve followed all the instructions…
jd@server:/var/www/html/application$ sudo ./application
info: Microsoft.Hosting.Lifetime[14]
Now listening on: http://localhost:5000
info: Microsoft.Hosting.Lifetime[0]
Application started. Press Ctrl+C to shut down.
info: Microsoft.Hosting.Lifetime[0]
Hosting environment: Production
info: Microsoft.Hosting.Lifetime[0]
Content root path: /var/www/html/application
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>music_db</title> | |
<meta charset=”utf-8” /> | |
<meta http-equiv=”X-UA-Compatible” content=”IE=Edge;IE=11” /> | |
<meta http-equiv=”Cache-Control” content=”no-store” /> | |
<script src=”wisej.wx“></script> | |
</head> | |
<body> | |
</body> | |
</html> |
and then a 404 on the subsequent call for wisej.wx
I’m obviously doing something a bit stupid (it doesn’t help that I seem to have acquired covid, and my brain is officially mush at the moment).
Can anyone offer some guidance?
JD
Well, I went and watched the video. And I got the same result. I’m embarrassed to report that I then re-imaged the server, and installed apache2 which, surprisingly (to me, at least 🙂 ) appears to be rather more transparent to configure. As a result, I’m now serving the application fine. Sorry if I’ve wasted anyone’s time. Would it be useful if I documented the step-by-step process (there are a couple of gotchas…) for Ubuntu 22? JD
Please login first to submit.