Search
Items tagged with: Apache
It took me quite a few attempts to set up a minimal Git over HTTP server, mainly because Apache HTTP Server is a beast and my httpd.conf skills are rusty, but here is a Docker compose.yml if someone ever needs this: https://gist.github.com/salomvary/17f9c0fb01733c84f33edd882aae88a3
Git server over HTTP with basic authentication
Git server over HTTP with basic authentication. GitHub Gist: instantly share code, notes, and snippets.Gist
/etc/hosts to point to my local machine. Then in a /etc/apache2/sites-available/friendica.conf I setup a virtual host on that host name and even setup a self-signed SSL certificate so I can run #Friendica locally. To be able to receive mails locally, as I have #Linux running here, I had to a bit patch Friendica to disable a regex check on the entered email address. Now when I want to locally federate with e.g. #GNUSocial I just have to repeat above steps and I remember I was able to setup "remote" follow between these two local instances. For Windows users, there is #WinAMP around for a very long time, including #Mercury mail server so you could be able to repeat it even on Windows.
It seems that in this setup, opposed to #Nginx, I need to restart httpd, php-fpm, Mariadb and the daemon after a git pull.
I tried only php-fpm and only httpd, but that did not work. The daemon alone restarted also doesn't work.
Maybe someone has an idea about that problem?
!Friendica Support
Ah, the joys of #selfhost without containers! I'm more and more tempted to look into #Docker, but I'm afraid of the learning curve before I get the same setup I have now. Also it probably would involve converting about 20 #Apache configuration files to #nginx which I'm not looking forward to either.
Does anyone have any pointers for either task, containerization and/or migration from Apache to nginx? #help