Open utterances-bot opened 1 year ago
Your Guide was exactly what i was looking for. I just have Problems with one section of it. Under Install package HTTP Overrides is a code section. I don't have any clue where to put this code. Does it has to be in the APP configuration or something like this?
The file content of sudo nano /etc/nginx/sites-available/default does not work. something with the brackets is wrong but i could not find out how the syntax is suppose to be.
Hi,
For HTTPOverride code, you need to put it in your dotnet application - Program.cs file.
The sites-available/default file should be correct (I checked the brackets), can you be more specific with the issue? what's the error code? what's your file look like?
Cheers, Luna On 2 Mar 2023 at 04:17 +1100, lunawen/lunawen-blog-comment @.***>, wrote:
nano /etc/nginx/sites-available/default
hi lunawen, yes you are right. I found it out after checking your resources and references.
The sites-available default was a formatting problem. when i put the code into my file it got seperated at a place where a comment started. i fixed it and it worked fine then. Thx for your great Tutorial!
Deploy a Dotnet Web API on Ubuntu with Nginx Reserve Proxy - Luna Tech
https://lunawen.com/devops/20220409-luna-tech-deploy-dotnet-webapi-ubuntu/