Skip to content

Instantly share code, notes, and snippets.

View sheriffmarley's full-sized avatar

sheriffmarley

View GitHub Profile
@JT501
JT501 / 1-Laravel-Docker-SSL.md
Last active May 2, 2024 16:25
Laravel + nginx-proxy + docker-letsencrypt-nginx-proxy-companion

Laravel + nginx-proxy + acme-companion

(Updated on 7/8/2023)

Deploy Laravel on Docker using nginx-proxy + acme-companion (formerly called docker-letsencrypt-nginx-proxy-companion)

  1. Prepare two seperate docker compose file i.e docker-compose.nginx.yml & docker-compose.app.yml

  2. Create nginx directory and move docker-compose.nginx.yml into it.

  3. Create YOUR_DOMAIN.conf and YOUR_DOMAIN_location_override.conf in nginx directory.

@tpokorra
tpokorra / reinstallKolabDebian.sh
Last active September 18, 2020 17:20
install kolab on Debian
service kolab-server stop
service kolab-saslauthd stop
service cyrus-imapd stop
service dirsrv stop
service wallace stop
service apache2 stop
if [ -f /usr/sbin/remove-ds-admin ]
then
sed -i "s#/usr/lib/x86_64-linux-gnu/dirsrv/perl);#/usr/lib/x86_64-linux-gnu/dirsrv/perl);\nuse lib qw(/usr/lib/dirsrv/perl);#g" /usr/sbin/remove-ds-admin