diff options
Diffstat (limited to '')
-rw-r--r-- | terminaldweller.com/main/docker-compose.yaml | 3 | ||||
-rw-r--r-- | terminaldweller.com/main/nginx.conf | 19 | ||||
-rw-r--r-- | terminaldweller.com/main/srv/index.html | 51 |
3 files changed, 48 insertions, 25 deletions
diff --git a/terminaldweller.com/main/docker-compose.yaml b/terminaldweller.com/main/docker-compose.yaml index 7d73795..5c38d62 100644 --- a/terminaldweller.com/main/docker-compose.yaml +++ b/terminaldweller.com/main/docker-compose.yaml @@ -10,7 +10,8 @@ services: restart: unless-stopped volumes: - ./nginx.conf:/etc/nginx/nginx.conf:ro - - /etc/letsencrypt/archive/terminaldweller.com/:/certs/ + - /etc/letsencrypt/live/terminaldweller.com/fullchain.pem:/etc/letsencrypt/live/terminaldweller.com/fullchain.pem:ro + - /etc/letsencrypt/live/terminaldweller.com/privkey.pem:/etc/letsencrypt/live/terminaldweller.com/privkey.pem:ro - ./srv:/srv cap_drop: - ALL diff --git a/terminaldweller.com/main/nginx.conf b/terminaldweller.com/main/nginx.conf index 1a9ea0e..3801219 100644 --- a/terminaldweller.com/main/nginx.conf +++ b/terminaldweller.com/main/nginx.conf @@ -15,8 +15,8 @@ http { add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always; ssl_ciphers HIGH:!aNULL:!MD5:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384; ssl_prefer_server_ciphers on; - ssl_certificate /certs/fullchain1.pem; - ssl_certificate_key /certs/privkey1.pem; + ssl_certificate /etc/letsencrypt/live/terminaldweller.com/fullchain.pem; + ssl_certificate_key /etc/letsencrypt/live/terminaldweller.com/privkey.pem; ssl_protocols TLSv1.2 TLSv1.3; add_header Content-Security-Policy "default-src 'self';"; add_header X-Frame-Options SAMEORIGIN always; @@ -32,6 +32,7 @@ http { add_header Content-Type "application/json"; alias /srv/.well-known/webfinger/finger.json; } + # https://metacode.biz/openpgp/web-key-directory? location /.well-known/openpgpkey/hu/ojxfrmdxrz4pm3hh16s5149w5b8acbsn { alias /srv/.well-known/openpgpkey/hu/gpg_pubkey.asc; @@ -41,6 +42,20 @@ http { alias /srv/.well-known/openpgpkey/policy; add_header Access-Control-Allow-Origin "*"; } + + location /.well-known/matrix/server { + access_log off; + add_header Access-Control-Allow-Origin "*"; + default_type application/json; + return 200 '{"m.server": "matrix.terminaldweller.com:443"}'; + } + location /.well-known/matrix/client { + access_log off; + add_header Access-Control-Allow-Origin "*"; + default_type application/json; + return 200 '{"m.homeserver": {"base_url": "https://matrix.terminaldweller.com"}}'; + } + location / { root /srv/; add_header Access-Control-Allow-Origin "*"; diff --git a/terminaldweller.com/main/srv/index.html b/terminaldweller.com/main/srv/index.html index a69fd8a..8f90c05 100644 --- a/terminaldweller.com/main/srv/index.html +++ b/terminaldweller.com/main/srv/index.html @@ -25,65 +25,72 @@ } </style> </head> - <body style="color:#005f87;background:#000000;text-align:center;padding:0px;border:0px;margin:0px;"> - <p style="font-size:20px;font-weight:bold">This is a list of links:</p> + <body style="color:#005f87;background:#000000;text-align:center;padding:0px;border:0px;margin:0px;font-family:mono;"> + <p style="font-size:20px;font-weight:bold;padding:0px;border:0px;margin:0px;">This is a list of links:</p> <p> <div>This page is available on:</div> - <div>web2 from <a href="https://terminaldweller.com">https://terminaldweller.com</a></div> + <div><a href="https://terminaldweller.com">web2</a> - <span style="user-select: all;">https://terminaldweller.com</span></div> <div>IPFS from <a href="https://ipfs.terminaldweller.com">https://ipfs.terminaldweller.com</a> or from <a href="https://terminaldweller.eth.link">terminaldweller.eth</a></div> - <div>On <a href="gemini://gemini.terminaldweller.com">Gemini</a></div> - <div><a href="http://iedzwh5v2vouywqy4eak3eu33amfn3rzhdcln7j4r5kcyvf46cea.b32.i2p/">i2p mirror</a></div> - <div><a href="http://dqunl5rzlv6skqfklqr4dwi4zph2vqoaennc7qoinqs5mlug4docq2yd.onion/">tor mirror</a></div> + <div>On <a href="gemini://gemini.terminaldweller.com">Gemini</a> - <span style="user-select: all;">gemini://gemini.terminaldweller.com</span></div> + <div><a href="http://iedzwh5v2vouywqy4eak3eu33amfn3rzhdcln7j4r5kcyvf46cea.b32.i2p/">i2p mirror</a> - <span style="user-select: all;">http://iedzwh5v2vouywqy4eak3eu33amfn3rzhdcln7j4r5kcyvf46cea.b32.i2p</span></div> + <div><a href="http://dqunl5rzlv6skqfklqr4dwi4zph2vqoaennc7qoinqs5mlug4docq2yd.onion/">tor mirror</a> - <span style="user-select: all;">http://dqunl5rzlv6skqfklqr4dwi4zph2vqoaennc7qoinqs5mlug4docq2yd.onion</span></div> <p>WKD direct and advanced are setup on/for the domain.</p> <p> <div><a href="https://keyoxide.org/hkp/9e20464f1ccf3b103249fa93a6a0f5158b3881df">keyoxide</a></div> <div>I don't use all the accounts listed on keyoxide regularly. The preferred methods of contacting me are the ones that are listed here, IRC, email and XMPP (The order is not significant).</div> </p> <div> - <div>PGP FP: 9E20464F1CCF3B103249FA93A6A0F5158B3881DF - <a href="https://github.com/terminaldweller.gpg">github</a>, <a href="https://gitlab.com/terminaldweller.gpg">gitlab</a>, <a href="https://codeberg.org/terminaldweller.gpg">codeberg</a>, <a href="keys/gpg_pubkey">self-hosted</a></div> + <div>PGP FP: <span style="user-select: all;">9E20464F1CCF3B103249FA93A6A0F5158B3881DF</span> - <a href="https://github.com/terminaldweller.gpg">github</a>, <a href="https://gitlab.com/terminaldweller.gpg">gitlab</a>, <a href="https://codeberg.org/terminaldweller.gpg">codeberg</a>, <a href="keys/gpg_pubkey">self-hosted</a></div> <div>I manually upload my PGP key to <a href="https://keys.openpgp.org">https://keys.openpgp.org</a> and <a href="https://pgp.mit.edu/">https://pgp.mit.edu/</a>.</div> - <div>SSH FP: SHA256:tyuaTy005jkJOIPXkrJAAlCKD91d1ftEXzGTqjmEZh4 - <a href="https://github.com/terminaldweller.keys">github</a>, <a href="https://gitlab.com/terminaldweller.keys">gitlab</a>, <a href="https://codeberg.org/terminaldweller.keys">codeberg</a>, <a href="keys/id_rsa_pub">self-hosted</a></div> + <div>SSH FP: <span style="user-select: all;">SHA256:tyuaTy005jkJOIPXkrJAAlCKD91d1ftEXzGTqjmEZh4</span> - <a href="https://github.com/terminaldweller.keys">github</a>, <a href="https://gitlab.com/terminaldweller.keys">gitlab</a>, <a href="https://codeberg.org/terminaldweller.keys">codeberg</a>, <a href="keys/id_rsa_pub">self-hosted</a></div> <p> <div>IRC:</div> - <div><a href="https://libera.chat">Libera</a>: terminaldweller <a>FP:FEF763019F0799C1B5CD190FC89080240665CDCAE1CB889D4413775447A4826F48B18DC134D3ACDDE1D932CF3280E6026099857CF46177F1D87CD9AA859C615F</a></div> - <div><a href="https://oftc.net">OFTC</a>: terminaldweller <a>FP:1072EFECA623C6E3D7A6628BEB6021F77EA2C876</a></div> - <div><a href="https://rizon.net/">Rizon</a>: terminaldweller <a>FP:1072EFECA623C6E3D7A6628BEB6021F77EA2C876</a></div> - <div><a href="https://tilde.chat">Tilde</a>: terminaldweller <a>FP:1072EFECA623C6E3D7A6628BEB6021F77EA2C876</a></div> + <div><a href="https://libera.chat">Libera</a>: terminaldweller FP:<span style="user-select: all;">FEF763019F0799C1B5CD190FC89080240665CDCAE1CB889D4413775447A4826F48B18DC134D3ACDDE1D932CF3280E6026099857CF46177F1D87CD9AA859C615F</span></div> + <div><a href="https://oftc.net/">OFTC</a>: terminaldweller FP:<span style="user-select: all;">1072EFECA623C6E3D7A6628BEB6021F77EA2C876</span></div> + <div><a href="https://rizon.net/">Rizon</a>: terminaldweller FP:<span style="user-select: all;">1072EFECA623C6E3D7A6628BEB6021F77EA2C876</span></div> + <div><a href="https://tilde.chat/">Tilde</a>: terminaldweller FP:<span style="user-select: all;">1072EFECA623C6E3D7A6628BEB6021F77EA2C876</span></div> + <div><a href="https://bnet.eu.org/">Bonobonet</a>: terminaldweller FP:<span style="user-select: all;">5e3bd8ab6f8c6f6a614d4b2245fd6b5737a6e59917c6719de62b55bac77b978c</span></div> <div>You can also find me on Libera, OFTC and Rizon in ##terminaldweller.</div> </p> </div> </p> <p> <div>XMPP:</div> - <div>devi@jabber.terminaldweller.com</div> - <div>devi@draugr.de</div> + <div><span style="user-select: all;">devi@jabber.terminaldweller.com</span></div> + <div><span style="user-select: all;">devi@draugr.de</span></div> </p> <p> <div>Email:</div> <div style="font-weight:bold;">(the order is significant)</div> - <div>devi@terminaldweller.com</div> - <div>thabogre@gmail.com</div> - <div>bloodstalker@zoho.com</div> - <div>farzadsadeghi@protonmail.ch</div> + <div><span style="user-select: all;">devi@terminaldweller.com</span></div> + <div><span style="user-select: all;">thabogre@gmail.com</span></div> + <div><span style="user-select: all;">bloodstalker@zoho.com</span></div> + <div><span style="user-select: all;">farzadsadeghi@protonmail.ch</span></div> <div>All emails have the ssh and pgp key fingerprints as signature. You can ask for one.</div> + <div>I sign all emails, unless I receive an encrypted email in which case, I will also encrypt the response.</div> + </p> + <p> + <div>Matrix:</div> + <div><a href="https://matrix.to/#/@devi:terminaldweller.com">@devi:terminaldweller.com</a></div> + <div><a href="https://matrix.to/#/@terminaldweller:matrix.org">@terminaldweller:matrix.org</a></div> </p> <p> <div>OpenID: <a href="https://launchpad.net/~terminaldweller">https://launchpad.net/~terminaldweller</a></div> </p> <p> <div>Git:</div> - <div>Github: <a href="https://github.com/terminaldweller">terminaldweller</a></div> + <div><a href="https://github.com/terminaldweller">github.com/terminaldweller</a></div> <div>Mirrors:</div> <div><a href="https://git.terminaldweller.com">git.terminaldweller.com</a></div> <div><a href="https://codeberg.org/terminaldweller">codeberg.org/terminaldweller</a></div> <div><a href="https://gitlab.com/terminaldweller">gitlab.com/terminaldweller</a></div> </p> <p> - <div>Mastodon: <a href="https://fosstodon.org/@terminaldweller">@terminaldweller@terminaldweller.com</a></div> - <div>If you cant find the handle then you need to log in. I'm not hosting my own mastodon instance. I'm just hosting my own webfinger. The actual handle is <a href="https://fosstodon.org/@terminaldweller">@terminaldweller@fosstodon.org</a></div> + <div>Mastodon:</div> + <div><a href="https://pleroma.terminaldweller.com/users/devi">@devi@pleroma.terminaldweller.com</a></div> + <div><a href="https://fosstodon.org/@terminaldweller">@terminaldweller@fosstodon.com</a></div> </p> <p>Blog: <a href="https://blog.terminaldweller.com">Blog</a> <a href="https://blog.terminaldweller.com/rss/feed">RSS</a></p> - <p><a href="https://www.linkedin.com/in/farzad-sadeghi/">Linkedin</a></p> <div> <div>Services: N/A</div> </div> |