A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 0

Filename: geshi/geshi.php

Line Number: 3469

A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 0

Filename: geshi/geshi.php

Line Number: 3469

A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 0

Filename: geshi/geshi.php

Line Number: 3469

A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 0

Filename: geshi/geshi.php

Line Number: 3469

A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 0

Filename: geshi/geshi.php

Line Number: 3469

Untitled - Pastebin
From aldum, 3 Weeks ago, written in nginx.
This paste will croak in 1 Second.
Embed
  1.     listen 80;
  2.     listen 443 ssl http2;
  3.     listen [::]:443 ssl http2;
  4.     server_name cloud.aldum.pw;
  5.  
  6. #    gzip_types application/atom+xml application/javascript application/json application/ld+json application/manifest+json application/rss+xml application/vnd.geo+json application/vnd.ms-fontobject application/x-font-ttf application/x-we
  7. b-app-manifest+json application/xhtml+xml application/xml font/opentype image/bmp image/svg+xml image/x-icon text/cache-manifest text/css text/plain text/vcard text/vnd.rim.location.xloc text/vtt text/x-component text/x-cross-domain-poli
  8. cy;
  9.  
  10.     access_log           /var/log/nginx/cloud.access.log;
  11.     error_log            /var/log/nginx/cloud.error.log;
  12.     ssl_certificate      /etc/letsencrypt/live/cloud.aldum.pw/fullchain.pem;
  13.     ssl_certificate_key  /etc/letsencrypt/live/cloud.aldum.pw/privkey.pem;
  14.  
  15.     add_header X-Content-Type-Options nosniff;
  16.     add_header X-XSS-Protection "1; mode=block";
  17.     add_header X-Robots-Tag none;
  18.     add_header X-Download-Options noopen;
  19.     add_header X-Permitted-Cross-Domain-Policies none;
  20.     add_header Referrer-Policy no-referrer;
  21.  
  22.     # Path to the root of your installation
  23.     root /usr/share/webapps/nextcloud/;
  24.  
  25.  
  26.     location / {
  27.         rewrite ^ /index.php$request_uri;
  28.     }
  29.  
  30.     location ~ ^/(?:build|tests|config|lib|3rdparty|templates|data)/ {
  31.         deny all;
  32.     }
  33.     location ~ ^/(?:\.|autotest|occ|issue|indie|db_|console) {
  34.         deny all;
  35.     }
  36.  
  37.     location ~ ^/(?:index|login|mote|public|cron|core/ajax/update|status|ocs/v[12]|updater/.+|ocs-provider/.+)\.php(?:$|/) {
  38.         fastcgi_split_path_info ^(.+\.php)(/.*)$;
  39.         include fastcgi_params;
  40.         fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
  41.         fastcgi_param PATH_INFO $fastcgi_path_info;
  42.         fastcgi_param HTTPS on;
  43.         fastcgi_param PHP_ADMIN_VALUE open_basedir="/srv/http/:/dev/urandom:/tmp/:/usr/share/pear/:/usr/share/webapps/nextcloud/:/etc/webapps/nextcloud:/usr/share/webapps/nextcloud/apps/";
  44.         #Avoid sending the security headers twice
  45.         fastcgi_param modHeadersAvailable true;
  46.         fastcgi_param front_controller_active true;
  47.         fastcgi_pass php-handler;
  48.         fastcgi_intercept_errors on;
  49.         fastcgi_request_buffering off;
  50.     }
  51.  
  52.     location = /robots.txt {
  53.         deny all;
  54.         log_not_found off;
  55.         access_log off;
  56.     }
  57. }
  58.