Hello at all,
I'm running Plesk Obsidian 18.0.35 on a Debian 10 system. The plan is to run a .NET Core application at some port, f.ex. http://my-domain.tld:1234 and https://my-domain.tld:4321, which is accessed by an React front-end application using fetch(). Since there is no official support for .NET on Linux I followed the official documentation at Microsoft and that worked without any problems, time to test:
I think that is something that needs to or can be configured at the server, but I don't know how and where. Do you have any suggestions? Thanks in advance.
Willi K.
P.S: The domain uses a valid Let's Crypt certificate that was added via the Plesk UI..
I'm running Plesk Obsidian 18.0.35 on a Debian 10 system. The plan is to run a .NET Core application at some port, f.ex. http://my-domain.tld:1234 and https://my-domain.tld:4321, which is accessed by an React front-end application using fetch(). Since there is no official support for .NET on Linux I followed the official documentation at Microsoft and that worked without any problems, time to test:
- Built the React app on my local computer and copied the files to the htdocs on a subdomain (f.ex. test.my-domain.tld)
- Build the .NET backend app at the server (dotnet public -c Release ...), "cd" into the "publish" directory and run the app manually (./myapp &)
AddCors() etc. is in place (allowing everything - just for the moment, of course), and "appsettings.json" contains, among others:
"Urls": "http://my-domain.tld:1234;https://my-domain.tld:4321"
"https_port": 4321,
I think that is something that needs to or can be configured at the server, but I don't know how and where. Do you have any suggestions? Thanks in advance.
Willi K.
P.S: The domain uses a valid Let's Crypt certificate that was added via the Plesk UI..
Last edited: