aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorterminaldweller <thabogre@gmail.com>2022-12-18 14:52:05 +0000
committerterminaldweller <thabogre@gmail.com>2022-12-18 14:52:05 +0000
commitab88991b2a632d6b7fb13891b6876dcfa9851973 (patch)
tree2df2ed13100368fc7e9c518cd79da08c6738ea45
parentupdate (diff)
downloadscripts-ab88991b2a632d6b7fb13891b6876dcfa9851973.tar.gz
scripts-ab88991b2a632d6b7fb13891b6876dcfa9851973.zip
update
-rw-r--r--.mutt/mailcap1
-rw-r--r--terminaldweller.com/ejabberd/docker-compose.yaml4
-rw-r--r--terminaldweller.com/main/nginx.conf10
3 files changed, 12 insertions, 3 deletions
diff --git a/.mutt/mailcap b/.mutt/mailcap
index c0f0cd0..8ea5205 100644
--- a/.mutt/mailcap
+++ b/.mutt/mailcap
@@ -1,3 +1,4 @@
#text/html; lynx -assume_charset=%{charset} -display_charset=utf-8 -collapse_br_tags -dump %s; nametemplate=%s.html; copiousoutput
#text/html; beautiful_html_render %s; nametemplate=%s.html; copiousoutput;
text/html; w3m -I %{charset} -T text/html; copiousoutput;
+application/vnd.gnupg.wks; gpg-wks-client -v --read --send; needsterminal; description=WKS message
diff --git a/terminaldweller.com/ejabberd/docker-compose.yaml b/terminaldweller.com/ejabberd/docker-compose.yaml
index 3ba143a..a4ddaeb 100644
--- a/terminaldweller.com/ejabberd/docker-compose.yaml
+++ b/terminaldweller.com/ejabberd/docker-compose.yaml
@@ -8,7 +8,7 @@ services:
#- "80:80"
- "5222:5222"
- "5223:5223"
- #- "5269:5269"
+ - "5269:5269"
- "5280:5280"
- "5443:5443"
#- "1883:1883"
@@ -33,5 +33,5 @@ volumes:
mnesia_db:
vault:
# openssl dhparam -out dhparams.pem 4096
-# certbot certonly --standlone -d chat.terminaldweller.com -m devi@terminaldweller.com --agree-tos --noninteractive
+# certbot certonly --standalone -d chat.terminaldweller.com -m devi@terminaldweller.com --agree-tos --noninteractive --dryrun
# docker exec -it 6eebd16a2385 bin/ejabberdctl register admin chat.terminaldweller.com password
diff --git a/terminaldweller.com/main/nginx.conf b/terminaldweller.com/main/nginx.conf
index 4007cca..db1404d 100644
--- a/terminaldweller.com/main/nginx.conf
+++ b/terminaldweller.com/main/nginx.conf
@@ -1,7 +1,6 @@
events {
worker_connections 1024;
}
-# curl https://fosstodon.org/.well-known/webfinger?resource=acct:terminaldweller@fosstodon.org
http {
server {
listen 8080 ssl http2;
@@ -20,11 +19,20 @@ http {
sendfile on;
tcp_nopush on;
+ # curl https://fosstodon.org/.well-known/webfinger?resource=acct:terminaldweller@fosstodon.org
location /.well-known/webfinger {
add_header Access-Control-Allow-Origin "*";
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;
+ add_header Access-Control-Allow-Origin "*";
+ }
+ location /.well-known/openpgpkey/policy {
+ alias /srv/.well-known/openpgpkey/policy;
+ add_header Access-Control-Allow-Origin "*";
+ }
}
}