ISPconfig+nginx: Contao CMS

Als Admin unter „System / Direktiven Schnipsel“ folgendes anlegen:

Name: Contao 4.x
Typ: Nginx

location / {##merge##
 client_max_body_size 100M;
 root {DOCROOT}/web;

 index app.php;
 try_files $uri $uri/ /app.php$is_args$args;
 location ~ ^/(app|app_dev|config|install|contao-manager\.phar)\.php(/|$) {
  include /etc/nginx/fastcgi_params;
  fastcgi_split_path_info ^(.+\.php)(/.*)$;
  fastcgi_param  SCRIPT_FILENAME $document_root$fastcgi_script_name;
  fastcgi_intercept_errors on;
  fastcgi_temp_file_write_size 10m;
  fastcgi_busy_buffers_size    512k;
  fastcgi_buffer_size          512k;
  fastcgi_buffers           16 512k;
  fastcgi_read_timeout 1200;
  fastcgi_param HTTP_AUTHORIZATION $http_authorization;
 location ~ \.(jpe?g|png|gif|ico|webp|css|js|svg|woff2?|ttf|otf|eot)$ {
  expires 1M;
  try_files $uri $uri/ /app.php$is_args$args;

Sichtbar für Kunden: ja
Aktiv: ja

Den Schnipsel dann als „Webserver-Konfiguration“ für die Domain aktivieren.

Den „contao-manager.phar.php“ Installer dann in einem weiteren „web“ Unterordner platzieren – also in /web/web/ und via „“ aufrufen.

Die Statistiken in ISP Config deaktivieren, damit der „/stats/“ Ordner bei der Installation nicht stört.

youtube login problem

A fix for the youtube login problem when you are logged in as the first login (/u/0/) with a google business account that does not allow youtube logins and you will always redirected to

For example, you are logged in with multiple accounts on google and the second login is your account you want to use with youtube.

Copy the login link from youtube:

This link tries to login with the first account.
To login to youtube with the second account, you have to attach a „&authuser=1“ to the link: