Wakanda 2.4 with Angular frontend. The project works correctly when accessed over HTTP (port 4201). When I access via HTTPS (443), Wakanda uses the certificates (I can see the certificate with my domain name in the browser) but gives me a 404 page as shown, with no mention of the reason of the error in the browser console or in the server logs (ignoring the favicon.ico error. that file does exist in my backend/dist
folder).
I tried to resolve this by creating a production build and setting the backend/dist
folder as my Active Web Folder (as was suggested on a stackoverflow post i came across), but it still gives the 404 error.
I am not sure why Wakanda is not serving the files and wondering what directory it is looking in for an index page, if that is what it is trying to do.
In the test solution @NAMS provided, the certificates are properly installed and recognized.
There are two problems in the solution:
backend/dist
is set as active web folder, URLs like https://domainname such as https://localhost requires a valid index.html file in the web folder. Otherwise it will also return 404 error.update: @NAMS confirmed turning on "webAPP" and adding index.html solve the issue.