You are not logged in.
Pages: 1
...
Better use Caddy Server. Caddy is fast, secure and easy to configure. Write the following caddyfile:yourdomain.com { reverse_proxy localhost:12345 }
Then run the mORMot server on this port. With these lines everything runs over https. Caddy automatically gets a certificate from Let's Encrypt and also manages (renews) it.
With best regards
Thomas
Thank you Thomas. I had never heard of it before but looks quite interesting! Is the performance comparable to nginx?
...
In this case, I would use nginx as reverse proxy front-end, and communicate over Posix Sockets between nginx and mORMot.
Such a configuration is easy with nginx, including Let's Encrypt support.
Ab, I'm following your advice and studying nginx... Do you think FastCGI is a way to go?
Yes, I want a single mormot server on linux. In that case I will use nginx as you suggested. I was just curious to know if it's possible, mainly due to mormot's excellent performance.
This is wonderful, congratulations and thanks.
I have a server running over http.sys on windows, but I'm starting a move to linux and I intend to use mormot 2. It really looks like fantastic.
One problem I have with htttp.sys is not being able to use more than one certificate on the same IP/port. So I use lets encrypt to issue certs with multiple domains. This works, but my clients don't really like to share the certificate.
Is there any way to solve this with mormot 2?
Example:
domain-A.com -> use cert 1 for [domain-A.com, blog.domain-A.com, api.domain-A.com]
api.domain-A.com -> use cert 1 for [domain-A.com, blog.domain-A.com, api.domain-A.com]
domain-B.com -> use cert 2 for [domain-B.com]
Thank you.
It is possible with mormot to host multiple websites with different domain names but in the same port at the same server?
For instance:
website 1: project1.com
website 2: project2.com
website 3: blog.project2.com
What is the best approach for this kind of situation?
Pages: 1