Von Tom, 5 Monate vorher, geschrieben in Plain Text.
Einbetten
  1. server {
  2.         listen 127.0.0.1:84;
  3.         server_name 127.0.0.1;
  4.         index index.php;
  5.         keepalive_timeout 70;
  6.         root /var/www/stikked;
  7.     index  index.php;
  8.  
  9. #   access_log /var/log/nginx/localhost.access_log combined;
  10. #   error_log /var/log/nginx/localhost.error_log info;
  11.  
  12.     location / {
  13.         try_files $uri /index.php;
  14.     }
  15.  
  16.     location ~ \.php$ {
  17.         return 444;
  18.     }
  19.  
  20.     location = /index.php {
  21.         fastcgi_pass unix:/run/php/php7.3-fpm.sock;
  22.         # fastcgi_pass 127.0.0.1:9000;
  23.         fastcgi_split_path_info ^(.+\.php)(.*)$;
  24.         include fastcgi_params;
  25.         fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
  26.     }
  27. }
  28.  
captcha