postgresql_fuer_listmonk
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
postgresql_fuer_listmonk [2024/12/25 13:17] – admin | postgresql_fuer_listmonk [2024/12/25 13:34] (current) – admin | ||
---|---|---|---|
Line 40: | Line 40: | ||
https:// | https:// | ||
+ | |||
+ | < | ||
+ | 560 nano config.toml | ||
+ | 561 listmonk --install | ||
+ | 562 chown -R listmonk: | ||
+ | 563 nano / | ||
+ | 564 systemctl daemon-reload | ||
+ | 565 systemctl enable --now listmonk.service | ||
+ | 566 systemctl status listmonk.service | ||
+ | 567 cd ../ | ||
+ | 568 ls -la | ||
+ | 569 nano webmail | ||
+ | 570 nano listmonk | ||
+ | 571 certbot certonly -d list.hardwarepunk.de | ||
+ | 572 systemctl stop nginx.service | ||
+ | 573 certbot certonly -d list.hardwarepunk.de | ||
+ | 574 systemctl start nginx.service | ||
+ | 575 cd ../ | ||
+ | 576 cd sites-enabled/ | ||
+ | 577 ln -s ../ | ||
+ | 578 ls -la | ||
+ | 579 systemctl restart nginx.service | ||
+ | </ | ||
+ | |||
+ | Nginx config | ||
+ | < | ||
+ | server { | ||
+ | listen 80; | ||
+ | listen [::]:80; | ||
+ | listen 443 ssl http2; | ||
+ | listen [::]:443 ssl http2; | ||
+ | |||
+ | server_name list.domain.tld; | ||
+ | |||
+ | ssl_certificate / | ||
+ | ssl_certificate_key / | ||
+ | |||
+ | add_header Strict-Transport-Security max-age=15768000; | ||
+ | |||
+ | location / { | ||
+ | proxy_pass http:// | ||
+ | proxy_set_header Host $host; | ||
+ | proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; | ||
+ | } | ||
+ | |||
+ | if ($ssl_protocol = "" | ||
+ | return 301 https:// | ||
+ | } | ||
+ | } | ||
+ | </ | ||
postgresql_fuer_listmonk.1735132631.txt.gz · Last modified: 2024/12/25 13:17 by admin