First commit

This commit is contained in:
root
2024-10-12 12:49:42 +01:00
commit bb49ef648a
11 changed files with 2728 additions and 0 deletions

11
logs/access.log Normal file
View File

@ -0,0 +1,11 @@
192.168.0.245 - - [12/Oct/2024:10:52:01 +0000] "GET / HTTP/1.1" 403 555 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36"
192.168.0.245 - - [12/Oct/2024:10:53:15 +0000] "GET / HTTP/1.1" 403 555 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36"
192.168.0.245 - - [12/Oct/2024:10:53:32 +0000] "GET /text.php HTTP/1.1" 502 559 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36"
192.168.0.245 - - [12/Oct/2024:10:54:41 +0000] "GET /text.php HTTP/1.1" 502 559 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36"
192.168.0.245 - - [12/Oct/2024:11:26:51 +0000 "GET /text.php HTTP/1.1" 502 559 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36" "-"
192.168.0.245 - - [12/Oct/2024:11:26:57 +0000 "GET / HTTP/1.1" 403 187 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36" "-"
192.168.0.245 - - [12/Oct/2024:11:27:42 +0000 "GET / HTTP/1.1" 403 187 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36" "-"
192.168.0.245 - - [12/Oct/2024:11:28:02 +0000 "GET / HTTP/1.1" 502 559 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36" "-"
192.168.0.245 - - [12/Oct/2024:11:34:04 +0000 "GET / HTTP/1.1" 502 559 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36" "-"
192.168.0.245 - - [12/Oct/2024:11:42:49 +0000 "GET / HTTP/1.1" 500 5 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36" "-"
192.168.0.245 - - [12/Oct/2024:11:43:59 +0000 "GET / HTTP/1.1" 200 24030 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36" "-"

131
logs/error.log Normal file
View File

@ -0,0 +1,131 @@
2024/10/12 10:52:01 [error] 7#7: *1 directory index of "/app/" is forbidden, client: 192.168.0.245, server: brynstuff-api.home.brynstuff.co.uk, request: "GET / HTTP/1.1", host: "192.168.0.40"
2024/10/12 10:53:15 [error] 7#7: *1 directory index of "/app/" is forbidden, client: 192.168.0.245, server: brynstuff-api.home.brynstuff.co.uk, request: "GET / HTTP/1.1", host: "192.168.0.40"
2024/10/12 10:53:32 [error] 7#7: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.0.245, server: brynstuff-api.home.brynstuff.co.uk, request: "GET /text.php HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "192.168.0.40"
2024/10/12 10:54:41 [error] 7#7: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.0.245, server: localhost, request: "GET /text.php HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "192.168.0.40"
2024/10/12 11:26:44 [notice] 1#1: using the "epoll" event method
2024/10/12 11:26:44 [notice] 1#1: nginx/1.26.2
2024/10/12 11:26:44 [notice] 1#1: OS: Linux 6.8.12-2-pve
2024/10/12 11:26:44 [notice] 1#1: getrlimit(RLIMIT_NOFILE): 1048576:1048576
2024/10/12 11:26:44 [notice] 1#1: start worker processes
2024/10/12 11:26:44 [notice] 1#1: start worker process 11
2024/10/12 11:26:44 [notice] 1#1: start worker process 12
2024/10/12 11:26:51 [crit] 11#11: *1 connect() to unix:/var/run/php/php8-fpm.sock failed (2: No such file or directory) while connecting to upstream, client: 192.168.0.245, server: bsapi.home.brynstuff.co.uk, request: "GET /text.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php8-fpm.sock:", host: "192.168.0.40"
2024/10/12 11:26:57 [error] 11#11: *1 directory index of "/app/" is forbidden, client: 192.168.0.245, server: bsapi.home.brynstuff.co.uk, request: "GET / HTTP/1.1", host: "192.168.0.40"
2024/10/12 11:27:01 [notice] 1#1: signal 15 (SIGTERM) received, exiting
2024/10/12 11:27:01 [notice] 12#12: exiting
2024/10/12 11:27:01 [notice] 12#12: exit
2024/10/12 11:27:01 [notice] 11#11: exiting
2024/10/12 11:27:01 [notice] 11#11: exit
2024/10/12 11:27:01 [notice] 1#1: signal 17 (SIGCHLD) received from 11
2024/10/12 11:27:01 [notice] 1#1: worker process 11 exited with code 0
2024/10/12 11:27:01 [notice] 1#1: signal 29 (SIGIO) received
2024/10/12 11:27:01 [notice] 1#1: signal 17 (SIGCHLD) received from 12
2024/10/12 11:27:01 [notice] 1#1: worker process 12 exited with code 0
2024/10/12 11:27:01 [notice] 1#1: exit
2024/10/12 11:27:37 [notice] 1#1: using the "epoll" event method
2024/10/12 11:27:37 [notice] 1#1: nginx/1.26.2
2024/10/12 11:27:37 [notice] 1#1: OS: Linux 6.8.12-2-pve
2024/10/12 11:27:37 [notice] 1#1: getrlimit(RLIMIT_NOFILE): 1048576:1048576
2024/10/12 11:27:37 [notice] 1#1: start worker processes
2024/10/12 11:27:37 [notice] 1#1: start worker process 12
2024/10/12 11:27:37 [notice] 1#1: start worker process 13
2024/10/12 11:27:42 [error] 12#12: *1 directory index of "/app/" is forbidden, client: 192.168.0.245, server: bsapi.home.brynstuff.co.uk, request: "GET / HTTP/1.1", host: "192.168.0.40"
2024/10/12 11:27:45 [notice] 1#1: signal 15 (SIGTERM) received, exiting
2024/10/12 11:27:45 [notice] 12#12: exiting
2024/10/12 11:27:45 [notice] 12#12: exit
2024/10/12 11:27:45 [notice] 13#13: exiting
2024/10/12 11:27:45 [notice] 13#13: exit
2024/10/12 11:27:45 [notice] 1#1: signal 17 (SIGCHLD) received from 12
2024/10/12 11:27:45 [notice] 1#1: worker process 12 exited with code 0
2024/10/12 11:27:45 [notice] 1#1: worker process 13 exited with code 0
2024/10/12 11:27:45 [notice] 1#1: exit
2024/10/12 11:28:00 [notice] 1#1: using the "epoll" event method
2024/10/12 11:28:00 [notice] 1#1: nginx/1.26.2
2024/10/12 11:28:00 [notice] 1#1: OS: Linux 6.8.12-2-pve
2024/10/12 11:28:00 [notice] 1#1: getrlimit(RLIMIT_NOFILE): 1048576:1048576
2024/10/12 11:28:00 [notice] 1#1: start worker processes
2024/10/12 11:28:00 [notice] 1#1: start worker process 12
2024/10/12 11:28:00 [notice] 1#1: start worker process 13
2024/10/12 11:28:02 [crit] 12#12: *1 connect() to unix:/var/run/php/php8-fpm.sock failed (2: No such file or directory) while connecting to upstream, client: 192.168.0.245, server: bsapi.home.brynstuff.co.uk, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php8-fpm.sock:", host: "192.168.0.40"
2024/10/12 11:28:06 [notice] 1#1: signal 15 (SIGTERM) received, exiting
2024/10/12 11:28:06 [notice] 13#13: exiting
2024/10/12 11:28:06 [notice] 12#12: exiting
2024/10/12 11:28:06 [notice] 12#12: exit
2024/10/12 11:28:06 [notice] 13#13: exit
2024/10/12 11:28:06 [notice] 1#1: signal 17 (SIGCHLD) received from 13
2024/10/12 11:28:06 [notice] 1#1: worker process 12 exited with code 0
2024/10/12 11:28:06 [notice] 1#1: worker process 13 exited with code 0
2024/10/12 11:28:06 [notice] 1#1: exit
2024/10/12 11:28:37 [notice] 1#1: using the "epoll" event method
2024/10/12 11:28:37 [notice] 1#1: nginx/1.26.2
2024/10/12 11:28:37 [notice] 1#1: OS: Linux 6.8.12-2-pve
2024/10/12 11:28:37 [notice] 1#1: getrlimit(RLIMIT_NOFILE): 1048576:1048576
2024/10/12 11:28:37 [notice] 1#1: start worker processes
2024/10/12 11:28:37 [notice] 1#1: start worker process 12
2024/10/12 11:28:37 [notice] 1#1: start worker process 13
2024/10/12 11:30:30 [notice] 1#1: signal 17 (SIGCHLD) received from 24
2024/10/12 11:30:30 [notice] 1#1: unknown process 24 exited with code 78
2024/10/12 11:32:13 [notice] 1#1: signal 15 (SIGTERM) received, exiting
2024/10/12 11:32:13 [notice] 12#12: exiting
2024/10/12 11:32:13 [notice] 12#12: exit
2024/10/12 11:32:13 [notice] 13#13: exiting
2024/10/12 11:32:13 [notice] 13#13: exit
2024/10/12 11:32:13 [notice] 1#1: signal 17 (SIGCHLD) received from 13
2024/10/12 11:32:13 [notice] 1#1: worker process 13 exited with code 0
2024/10/12 11:32:13 [notice] 1#1: signal 29 (SIGIO) received
2024/10/12 11:32:13 [notice] 1#1: signal 17 (SIGCHLD) received from 12
2024/10/12 11:32:13 [notice] 1#1: worker process 12 exited with code 0
2024/10/12 11:32:13 [notice] 1#1: exit
2024/10/12 11:33:26 [notice] 1#1: using the "epoll" event method
2024/10/12 11:33:26 [notice] 1#1: nginx/1.26.2
2024/10/12 11:33:26 [notice] 1#1: OS: Linux 6.8.12-2-pve
2024/10/12 11:33:26 [notice] 1#1: getrlimit(RLIMIT_NOFILE): 1048576:1048576
2024/10/12 11:33:26 [notice] 1#1: start worker processes
2024/10/12 11:33:26 [notice] 1#1: start worker process 12
2024/10/12 11:33:26 [notice] 1#1: start worker process 13
2024/10/12 11:34:04 [crit] 12#12: *1 connect() to unix:/var/run/php/php82-fpm.sock failed (2: No such file or directory) while connecting to upstream, client: 192.168.0.245, server: bsapi.home.brynstuff.co.uk, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php82-fpm.sock:", host: "192.168.0.40"
2024/10/12 11:34:40 [notice] 1#1: signal 17 (SIGCHLD) received from 8
2024/10/12 11:34:40 [notice] 1#1: unknown process 8 exited with code 0
2024/10/12 11:37:48 [notice] 1#1: signal 17 (SIGCHLD) received from 42
2024/10/12 11:37:48 [notice] 1#1: unknown process 42 exited with code 78
2024/10/12 11:38:23 [notice] 1#1: signal 15 (SIGTERM) received, exiting
2024/10/12 11:38:23 [notice] 12#12: exiting
2024/10/12 11:38:23 [notice] 12#12: exit
2024/10/12 11:38:23 [notice] 13#13: exiting
2024/10/12 11:38:23 [notice] 13#13: exit
2024/10/12 11:38:23 [notice] 1#1: signal 17 (SIGCHLD) received from 13
2024/10/12 11:38:23 [notice] 1#1: worker process 13 exited with code 0
2024/10/12 11:38:23 [notice] 1#1: signal 29 (SIGIO) received
2024/10/12 11:38:23 [notice] 1#1: signal 17 (SIGCHLD) received from 12
2024/10/12 11:38:23 [notice] 1#1: worker process 12 exited with code 0
2024/10/12 11:38:23 [notice] 1#1: exit
2024/10/12 11:39:27 [emerg] 1#1: invalid number of arguments in "fastcgi_pass" directive in /etc/nginx/conf.d/default.conf:10
2024/10/12 11:39:49 [emerg] 1#1: invalid number of arguments in "fastcgi_pass" directive in /etc/nginx/conf.d/default.conf:10
2024/10/12 11:42:11 [emerg] 1#1: host not found in upstream "php" in /etc/nginx/conf.d/default.conf:10
2024/10/12 11:42:34 [notice] 1#1: using the "epoll" event method
2024/10/12 11:42:34 [notice] 1#1: nginx/1.26.2
2024/10/12 11:42:34 [notice] 1#1: OS: Linux 6.8.12-2-pve
2024/10/12 11:42:34 [notice] 1#1: getrlimit(RLIMIT_NOFILE): 1048576:1048576
2024/10/12 11:42:34 [notice] 1#1: start worker processes
2024/10/12 11:42:34 [notice] 1#1: start worker process 12
2024/10/12 11:42:34 [notice] 1#1: start worker process 13
2024/10/12 11:42:36 [notice] 1#1: signal 15 (SIGTERM) received, exiting
2024/10/12 11:42:36 [notice] 12#12: exiting
2024/10/12 11:42:36 [notice] 12#12: exit
2024/10/12 11:42:36 [notice] 13#13: exiting
2024/10/12 11:42:36 [notice] 13#13: exit
2024/10/12 11:42:36 [notice] 1#1: signal 17 (SIGCHLD) received from 13
2024/10/12 11:42:36 [notice] 1#1: worker process 12 exited with code 0
2024/10/12 11:42:36 [notice] 1#1: worker process 13 exited with code 0
2024/10/12 11:42:36 [notice] 1#1: exit
2024/10/12 11:42:41 [notice] 1#1: using the "epoll" event method
2024/10/12 11:42:41 [notice] 1#1: nginx/1.26.2
2024/10/12 11:42:41 [notice] 1#1: OS: Linux 6.8.12-2-pve
2024/10/12 11:42:41 [notice] 1#1: getrlimit(RLIMIT_NOFILE): 1048576:1048576
2024/10/12 11:42:41 [notice] 1#1: start worker processes
2024/10/12 11:42:41 [notice] 1#1: start worker process 12
2024/10/12 11:42:41 [notice] 1#1: start worker process 13
2024/10/12 11:42:49 [error] 12#12: *1 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Error: Call to undefined function php_info() in /app/index.php:2
Stack trace:
#0 {main}
thrown in /app/index.php on line 2" while reading response header from upstream, client: 192.168.0.245, server: bsapi.home.brynstuff.co.uk, request: "GET / HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "192.168.0.40"