nitori

nitori OP wrote (edited )

also why u no support HTTP/1.0 (which also means no HTTP/0.9) :(

When trying to use http/1.0 and http/0.9 ALPN:

$ openssl s_client -connect jstpst.net:443 -servername jstpst.net -alpn http/1.0
CONNECTED(00000003)
4027744A687F0000:error:0A000460:SSL routines:ssl3_read_bytes:reason(1120):../ssl/record/rec_layer_s3.c:1584:SSL alert number 120
---
no peer certificate available
---
No client certificate CA names sent
---
SSL handshake has read 7 bytes and written 327 bytes
Verification: OK
---
New, (NONE), Cipher is (NONE)
Secure Renegotiation IS NOT supported
Compression: NONE
Expansion: NONE
No ALPN negotiated
Early data was not sent
Verify return code: 0 (ok)
---

When I fake ALPN to http/1.1:

$ openssl s_client -connect jstpst.net:443 -servername jstpst.net -alpn http/1.1
CONNECTED(00000003)
depth=2 C = US, O = Internet Security Research Group, CN = ISRG Root X1
verify return:1
depth=1 C = US, O = Let's Encrypt, CN = E6
verify return:1
depth=0 CN = jstpst.net
verify return:1
---
[ssl certs and blah blah blah...]
---
read R BLOCK
GET / HTTP/1.0

HTTP/1.0 200 OK
Alt-Svc: h3=":443"; ma=2592000
Server: Caddy
Date: Tue, 23 Jul 2024 07:38:39 GMT
Content-Length: 0

closed
2

nitori wrote (edited )

  1. Type the markdown for an <img> which is ![]. You can optionally put text in between the square brackets for alt text, like this: ![Nitori thinking smugly]
  2. Copy the link from the submission image of your choice which should look like https://jstpst.net/submission_images/<random hash goes here>.<jpg/png/gif>.
  3. Paste it inside parentheses which will be besides the markdown you did earlier. Like this: ![Nitori thinking smugly](https://jstpst.net/submission_images/<random hash goes here>.<jpg/png/gif>). You can shorten the url a bit by removing the https://jstpst.net; you will get a relative link instead which is nicer.

Now you should get something like this: ![Smug Nitori speech bubble](/submission_images/7f20f25d80863efad8f2600acb32fdaa9d4c50307ff74a1d517f42a7285cda77.jpg) which results in this:

Smug Nitori speech bubble

Optionally you can make an inline image a clickable link too; just enclose the whole thing inside another square bracket like you would do for a link with another parentheses outside said square brackets. I do this always so my embeds can link back to the original post (so they can be upvoted that other people can easily embed it too). You can see this with my Mokou heart embed which has this code: [![mokou heart](/submission_images/1a9f50a4b0ee2d39db846d2ef6c48a19596713b0add3e6446f14b248eb0655a7.png)](/f/2hu/10304)

And looks like this:

mokou heart

4