Skip to content

Instantly share code, notes, and snippets.

stages:
- deploy
deploy-master:
stage: deploy
environment: production
script:
- ssh [email protected] "
cd /var/www/wordpress/wp-content/themes/theme-name &&
git pull
@benhartwich
benhartwich / homeserver.yaml
Last active August 9, 2022 15:26
Matrix Synapse
# This file shows only my changes - please insert / adapt them at the right place at your file!
# SSL
tls_certificate_path: "/etc/matrix-synapse/fullchain.pem"
tls_private_key_path: "/etc/matrix-synapse/privkey.pem"
tls_dh_params_path: "/etc/matrix-synapse/dhparam.pem"
no_tls: false
# Chat
web_client: false
@benhartwich
benhartwich / nginx.conf
Last active April 14, 2022 09:43
Nginx RMTP with HLS variants
user www-data;
worker_processes auto;
error_log /var/log/nginx/error.log notice;
pid /var/run/nginx.pid;
events {
worker_connections 1024;
use epoll;
{% if not is_feed() %}
{# display web player for episode #}
{{ episode.player }}
{# display contributors if module is active #}
{% if shortcode_exists("podlove-episode-contributor-list") %}
<h3>Am Mikrofon:</h3>
{# see http://docs.podlove.org/podlove-publisher/reference/shortcodes.html#contributors for parameters #}
[podlove-episode-contributor-list]
@benhartwich
benhartwich / nginx.conf
Created July 12, 2023 05:59
AgenGPT nginx config
server {
listen 80;
listen [::]:80;
server_name xy.com;
return 301 https://$server_name$request_uri;
}
server {
listen 443 ssl;
listen [::]:443 ssl;