Von T. Escher, 6 Monate vorher, geschrieben in Plain Text.
Einbetten
  1. server {
  2.         listen 127.0.0.1:91;
  3.         server_name date.escher.cc;
  4.         index index.php;
  5.         keepalive_timeout 70;
  6.         root /var/www/framadate;
  7.     index  index.php;
  8.  
  9.     location / {
  10.         try_files $uri /index.php;
  11.     }
  12.  
  13.     location ~ \.php$ {
  14.         return 444;
  15.     }
  16.  
  17.     location = /index.php {
  18.         fastcgi_pass unix:/run/php/php7.3-fpm.sock;
  19.         # fastcgi_pass 127.0.0.1:9000;
  20.         fastcgi_split_path_info ^(.+\.php)(.*)$;
  21.         include fastcgi_params;
  22.         fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
  23.     }
  24. }
captcha