Hi @Cold-Egg. Oh good, it's not just me. Thank you!
But can you explain to me. There were no such remarkable steps by me. How can I be the first user complaining that POSTing with HTTPS does not work? I can only imagine the pre-setup of DigitalOcean was wrong.
Thanks again!
I'm back with the test results!
First, I added a test.html on my server with the form from @Cold-Egg. It is the same like with XHR. It is loading very long and then I'm getting an ERR_SPDY_PROTOCOL_ERROR error.
Then, as suggested by @David I tested the Example application shipped with OLS...
@David David i will check that tomorrow. Maybe I also create a new fresh droplet and test. But it must be with https and my certificate. Http works on my app too.
@Cold-Egg ok, I will try something similiar to this aswell tomorrow
I ordered a new domain and pointed it to the server. I'm not even using a subdomain anymore, it's a clean domain. And from where I got the domain I could download private key, certificate key and intermediate key.
This time I was following this tutorial...
UPDATE: Something about my SSL is wrong. At least the request is working when I use http. I renewed the cert with certbot certonly --webroot -w /usr/local/lsws/Whatever/html/ -d my.domain.tld but no change... Is there any other way to obtain a SSL certificate? Did I even do something wrong?
Guys, I'm struggling with this for days and it got me really, like REALLY really frustrated! And I really tried to figure this out by myself but all my experience in web development seems worthless when it comes to this issue. And I really tried everything! Everything, instead of deleting...
@Pong Hmm... I don't know, I got some weird things going on. I might create another thread for that problem. I have implemented log4js file logging now. And it does not work on the server (I have log messages at the very beginning of the script). Even after restarting the server multiple times...
I checked that yesterday (didn't knew it existed). I don't remember very well what it said, but it couldn't find the directory (double slash at some point) and somewhere it said something about a permission problem. However I fixed it by removed the ending slash in the settings and then I also...
Same (page never loads), but different logging:
2019-02-11 20:09:32.368933 [INFO] [x.xxx.xxx.xx:29633:HTTP2-1] [REWRITE] Rule: Match '/api/' with pattern '^(.*)$', result: 2
2019-02-11 20:09:32.368987 [INFO] [x.xxx.xxx.xx:29633:HTTP2-1] [REWRITE] Cond: Match 'on' with pattern 'on', result: 1...
Requesting my-domain.tld/api
I'm getting an endless loading page and this in my logs:
2019-02-11 19:11:24.922722 [INFO] [x.xxx.xxx.xx:40006:HTTP2-1] [REWRITE] Rule: Match '/api' with pattern '^(.*)$', result: 2
2019-02-11 19:11:24.922778 [INFO] [x.xxx.xxx.xx:40006:HTTP2-1] [REWRITE] Cond: Match...
Thanks for your answer at first. I'm glad receiving support that fast.
Phew, I'm feeling really like a noob reading this. I don't understand... How would that work, like even technically, that OLS handles the NodeJS requests by itself?
I have no config or whatsoever. My nodeJS app is very...
Hello,
I'm new to OpenLiteSpeed and just about setting up my first app with it.
I have an HTTP and a HTTPS Listener. HTTPS is forced, which means I have a redirect from HTTP to HTTPS:
rewriteCond %{HTTPS} !on
rewriteRule ^(.*)$ https://%{SERVER_NAME}%{REQUEST_URI} [R,L]
I have a NodeJS app as...