diff --git a/.env b/.env index fa0512f..4210ada 100644 --- a/.env +++ b/.env @@ -4,6 +4,8 @@ DIR=/srv/docker DOMAIN=milvert.com DOMAIN_PEEK=peekskog.se +CLOUDFLARE_IPS=173.245.48.0/20,103.21.244.0/22,103.22.200.0/22,103.31.4.0/22,141.101.64.0/18,108.162.192.0/18,190.93.240.0/20,188.114.96.0/20,197.234.240.0/22,198.41.128.0/17,162.158.0.0/15,104.16.0.0/13,104.24.0.0/14,172.64.0.0/13,131.0.72.0/22,2400:cb00::/32,2606:4700::/32,2803:f800::/32,2405:b500::/32,2405:8100::/32,2a06:98c0::/29,2c0f:f248::/32 +LOCAL_IPS=127.0.0.1/32,10.0.0.0/8,192.168.0.0/16,172.16.0.0/12 MYSQL_USERNAME=root MYSQL_PASSWORD=qwerty @@ -31,3 +33,5 @@ TZ=Europe/Stockholm TGRAMAPI=5306622927:AAGsDD83H1joum_hlTiCtSFWwIyM3nEEntU TGRAMCHAT=-1005306622927 +TGRAM_SHOUTRRR_ADDRESS=telegram://5306622927:AAGsDD83H1joum_hlTiCtSFWwIyM3nEEntU@telegram?chats=-1001662562579 + diff --git a/docker-compose.database.yml b/docker-compose.database.yml index 1776416..70f5105 100644 --- a/docker-compose.database.yml +++ b/docker-compose.database.yml @@ -46,7 +46,7 @@ services: - "traefik.http.routers.webdb-secure.middlewares=webdb-mid" - "traefik.http.routers.webdb-secure.entrypoints=web-secure" - "traefik.http.routers.webdb-secure.rule=Host(`webdb.${DOMAIN}`)" - - "traefik.http.routers.webdb-secure.tls.certresolver=milvert_cert" + - "traefik.http.routers.webdb-secure.tls.certresolver=milvert_dns" - "traefik.http.routers.webdb-secure.tls=true" - "traefik.http.services.webdb-service.loadbalancer.server.port=8080" depends_on: @@ -107,12 +107,12 @@ services: - "traefik.http.routers.webpg-secure.middlewares=webpg-mid" - "traefik.http.routers.webpg-secure.entrypoints=web-secure" - "traefik.http.routers.webpg-secure.rule=Host(`webpg.${DOMAIN}`)" - - "traefik.http.routers.webpg-secure.tls.certresolver=milvert_cert" + - "traefik.http.routers.webpg-secure.tls.certresolver=milvert_dns" - "traefik.http.routers.webpg-secure.tls=true" #- "traefik.http.services.webpg-service.loadbalancer.server.port=8080" redis: - image: redis:latest + image: redis:7.0-alpine container_name: redis logging: driver: "json-file" @@ -124,6 +124,7 @@ services: - backend volumes: - ${DIR}/redis:/var/lib/redis + #entrypoint: redis-server --appendonly yes --requirepass $REDIS_PASSWORD --maxmemory 512mb --maxmemory-policy allkeys-lru labels: - diun.enable=true diff --git a/docker-compose.home.yml b/docker-compose.home.yml index 7d869cc..d75fe84 100644 --- a/docker-compose.home.yml +++ b/docker-compose.home.yml @@ -61,6 +61,30 @@ services: - "traefik.http.routers.landet_domo-secure.tls.certresolver=milvert_dns" - "traefik.http.routers.landet_domo-secure.tls=true" + huawei_inverter: + image: huawei_inverter:1.0 + build: ../Inverter_huawei + container_name: huawei_inverter + dns: + - 10.0.0.201 + logging: + driver: "json-file" + options: + max-size: "5m" + max-file: "3" + networks: + - backend + restart: unless-stopped + environment: + - INVERTER_HOST=10.0.2.20 + - MQTT_HOST=mqtt + - USE_CREDENTIALS=YES + - USER_NAME=simon + - PASSWORD=bajsa123 + - LOGLEVEL=INFO + - MQTT_TOPIC=inverter + - DATA_MODE=INVERTER # INVERTER or OFFLINE + networks: frontend: diff --git a/docker-compose.nextclouod.yml b/docker-compose.nextcloud.yml similarity index 97% rename from docker-compose.nextclouod.yml rename to docker-compose.nextcloud.yml index 7dc2b27..132fc34 100644 --- a/docker-compose.nextclouod.yml +++ b/docker-compose.nextcloud.yml @@ -3,7 +3,7 @@ version: '3' services: nextcloud: container_name: nextcloud - image: nextcloud:latest + image: nextcloud:25 logging: driver: "json-file" options: @@ -21,6 +21,7 @@ services: - redis - postgres labels: + - diun.enable=true - "traefik.enable=true" - "traefik.http.routers.nextcloud.entrypoints=web-secure" - "traefik.http.routers.nextcloud.middlewares=nextcloud,nextcloud_redirect" diff --git a/docker-compose.per.yml b/docker-compose.per.yml index 05f9752..29c8ff6 100644 --- a/docker-compose.per.yml +++ b/docker-compose.per.yml @@ -47,7 +47,7 @@ services: - "traefik.http.middlewares.peek-middle.headers.browserXSSFilter=true" - "traefik.http.middlewares.peek-middle.headers.contentTypeNosniff=true" #- "traefik.http.routers.peek-secure.rule=Host(`${DOMAIN_PEEK}`)" - - "traefik.http.routers.peek-secure.tls.certresolver=milvert_cert" + - "traefik.http.routers.peek-secure.tls.certresolver=peek" - "traefik.http.routers.peek-secure.tls=true" db_peek: diff --git a/docker-compose.service.yml b/docker-compose.service.yml index 2d544af..4e35d5f 100644 --- a/docker-compose.service.yml +++ b/docker-compose.service.yml @@ -11,7 +11,7 @@ services: max-file: "3" networks: - backend - image: koenkk/zigbee2mqtt:1.28.1 + image: koenkk/zigbee2mqtt:1.30.1 restart: always volumes: - ./zigbee_home_2:/app/data @@ -41,7 +41,7 @@ services: max-file: "5" networks: - backend - image: koenkk/zigbee2mqtt:1.28.1 + image: koenkk/zigbee2mqtt:1.30.1 restart: always volumes: - ${DIR}/zigbee2matt:/app/data @@ -88,7 +88,7 @@ services: - "traefik.http.routers.grafana-secure.tls=true" influx: - image: influxdb:2.5 + image: influxdb:2.6 container_name: influxdb logging: driver: "json-file" @@ -101,14 +101,14 @@ services: ports: - "8087:8086" volumes: - - ${DIR}/influx-data:/var/lib/influxdb + # - ${DIR}/influx-data:/var/lib/influxdb - ${DIR}/influx_2-data:/var/lib/influxdb2 #- ${DIR}/influx-data/influxdb.conf:/root/influxdb/influxdb.conf:ro environment: - INFLUXDB_DB=db0 - INFLUXDB_ADMIN_USER=${INFLUX_ADMIN} - INFLUXDB_ADMIN_PASSWORD=${INFLUX_ADMIN_PASSWORD} - - INFLUXD_LOG_LEVEL=ERROR + - INFLUXD_LOG_LEVEL=INFO #- DOCKER_INFLUXDB_INIT_MODE=upgrade #- DOCKER_INFLUXDB_INIT_PASSWORD=${INFLUX_ADMIN_PASSWORD} #- DOCKER_INFLUXDB_INIT_USERNAME=${INFLUX_ADMIN} @@ -126,10 +126,10 @@ services: - "traefik.http.routers.influx-secure.tls.certresolver=milvert_dns" - "traefik.http.routers.influx-secure.tls=true" #- "traefik.http.middlewares.webpg-mid.ipwhitelist.sourcerange=127.0.0.1/32, 10.0.0.1/24" - - "traefik.http.routers.influx-secure.middlewares=localNetwork@file" + # - "traefik.http.routers.influx-secure.middlewares=localNetwork@file" telegraf: - image: telegraf:1.22 + image: telegraf:1.25 container_name: telegraf logging: driver: "json-file" @@ -270,8 +270,37 @@ services: labels: - diun.enable=true + ddns-updater: + image: qmcgaw/ddns-updater:256 + container_name: ddns-updater + restart: always + networks: + - backend + ports: + - 8000:8000/tcp + volumes: + - ${DIR}/ddns-updater:/updater/data + environment: + PUID: 1000 + PGID: 1004 + TZ: ${TZ} + PERIOD: 1h + UPDATE_COOLDOWN_PERIOD: 5m + PUBLICIP_DNS_TIMEOUT: 3s + HTTP_TIMEOUT: 10s + # Web UI + LISTENING_PORT: 8000 + # Backup + BACKUP_PERIOD: 96h # 0 to disable + BACKUP_DIRECTORY: /updater/data/backups + # Other + LOG_LEVEL: info + SHOUTRRR_ADDRESSES: $TGRAM_SHOUTRRR_ADDRESS + labels: + - diun.enable=true + pihole: - image: pihole/pihole:2023.01 + image: pihole/pihole:2023.02.1 container_name: pihole ports: - "53:53/tcp" diff --git a/docker-compose.web.yml b/docker-compose.web.yml index a3fa42b..9292254 100644 --- a/docker-compose.web.yml +++ b/docker-compose.web.yml @@ -20,7 +20,7 @@ services: - "traefik.http.routers.milvertcom-secure.entrypoints=web-secure" - "traefik.http.routers.milvertcom-secure.middlewares=default-headers@file" - "traefik.http.routers.milvertcom-secure.rule=Host(`${DOMAIN}`)" - - "traefik.http.routers.milvertcom-secure.tls.certresolver=milvert_cert" + - "traefik.http.routers.milvertcom-secure.tls.certresolver=milvert_dns" - "traefik.http.routers.milvertcom-secure.tls=true" #- "traefik.http.routers.milvert-secure.priority=1" volumes: @@ -38,7 +38,7 @@ services: - "traefik.enable=true" - "traefik.http.routers.whoami-secure.entrypoints=web-secure" - "traefik.http.routers.whoami-secure.rule=Host(`whoami.${DOMAIN}`)" - - "traefik.http.routers.whoami-secure.tls.certresolver=milvert_cert" + - "traefik.http.routers.whoami-secure.tls.certresolver=milvert_dns" - "traefik.http.routers.whoami-secure.tls=true" ttrss: @@ -66,7 +66,7 @@ services: - "traefik.enable=true" - "traefik.http.routers.rss-secure.entrypoints=web-secure" - "traefik.http.routers.rss-secure.rule=Host(`rss.${DOMAIN}`)" - - "traefik.http.routers.rss-secure.tls.certresolver=milvert_cert" + - "traefik.http.routers.rss-secure.tls.certresolver=milvert_dns" - "traefik.http.routers.rss-secure.tls=true" diak: @@ -89,7 +89,7 @@ services: - "traefik.enable=true" - "traefik.http.routers.diak-secure.entrypoints=web-secure" - "traefik.http.routers.diak-secure.rule=Host(`diak.${DOMAIN}`)" - - "traefik.http.routers.diak-secure.tls.certresolver=milvert_cert" + - "traefik.http.routers.diak-secure.tls.certresolver=milvert_dns" - "traefik.http.routers.diak-secure.tls=true" @@ -124,7 +124,7 @@ services: - "traefik.enable=true" - "traefik.http.routers.sync_johanna-secure.entrypoints=web-secure" - "traefik.http.routers.sync_johanna-secure.rule=Host(`sync.${DOMAIN}`)" - - "traefik.http.routers.sync_johanna-secure.tls.certresolver=milvert_cert" + - "traefik.http.routers.sync_johanna-secure.tls.certresolver=milvert_dns" - "traefik.http.routers.sync_johanna-secure.tls=true" torrent: @@ -150,7 +150,7 @@ services: - "traefik.enable=true" - "traefik.http.routers.torrent-secure.entrypoints=web-secure" - "traefik.http.routers.torrent-secure.rule=Host(`torrent.${DOMAIN}`)" - - "traefik.http.routers.torrent-secure.tls.certresolver=milvert_cert" + - "traefik.http.routers.torrent-secure.tls.certresolver=milvert_dns" - "traefik.http.routers.torrent-secure.tls=true" diff --git a/docker-compose.yml b/docker-compose.yml index d271c6f..34350ad 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -29,6 +29,7 @@ services: # So that Traefik can listen to the Docker events - /var/run/docker.sock:/var/run/docker.sock - ./traefik.yml:/etc/traefik/traefik.yml + #- ./traefik:/rules - ./static_config.yml:/etc/traefik/static_config.yml # - "./log.json:/etc/traefik/log.json" #- ./acme.json:/acme.json diff --git a/librespeed/config/.migrations b/librespeed/config/.migrations new file mode 100644 index 0000000..588a613 --- /dev/null +++ b/librespeed/config/.migrations @@ -0,0 +1,2 @@ +01-nginx-site-confs-default +02-default-location diff --git a/librespeed/config/keys/cert.crt b/librespeed/config/keys/cert.crt new file mode 100644 index 0000000..51c3372 --- /dev/null +++ b/librespeed/config/keys/cert.crt @@ -0,0 +1,22 @@ +-----BEGIN CERTIFICATE----- +MIIDsTCCApmgAwIBAgIUKuHEIjCQG8lMZr5D0ZCpruU7lz0wDQYJKoZIhvcNAQEL +BQAwaDELMAkGA1UEBhMCVVMxCzAJBgNVBAgMAkNBMREwDwYDVQQHDAhDYXJsc2Jh +ZDEXMBUGA1UECgwOTGludXhzZXJ2ZXIuaW8xFDASBgNVBAsMC0xTSU8gU2VydmVy +MQowCAYDVQQDDAEqMB4XDTIzMDEwOTIwMDgwNVoXDTMzMDEwNjIwMDgwNVowaDEL +MAkGA1UEBhMCVVMxCzAJBgNVBAgMAkNBMREwDwYDVQQHDAhDYXJsc2JhZDEXMBUG +A1UECgwOTGludXhzZXJ2ZXIuaW8xFDASBgNVBAsMC0xTSU8gU2VydmVyMQowCAYD +VQQDDAEqMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAsgEtqv2AJNRS +2Trz7b2vD/yWY2enKRhrXOCfo7VbIdRTvd2AelvZxFe2LR39n7ccGxfxpcvJdAKG +cuCYEIMmkHPdOQX/UhJCm2W0ZXAvSKQ3GfDROJ0m+ZkVhw3U0drIvbgpPDIv4aZv +Qj0m8BkQnSJBG6nnSL/btens22d53HARbqdp/PCeu7Dya6dyNFPO7T1/oO20vLHZ +S3rWW6ZLqbk/XE6lcBNJqH6yEjPWVutBHs//zGOsWw1rFN0QXj7zTVMbNKvUdo7A +8DoRbTChnBbnfYX+1bfKmXafqCr5mXvMyRJO5rk9YOllJoyOajQvPE5GGSzRUwss +5a4NLrOKtQIDAQABo1MwUTAdBgNVHQ4EFgQU+024FytBWdR1gPLUnoIgNkJdr2ww +HwYDVR0jBBgwFoAU+024FytBWdR1gPLUnoIgNkJdr2wwDwYDVR0TAQH/BAUwAwEB +/zANBgkqhkiG9w0BAQsFAAOCAQEAFkROVFaxraWP4UI4GEPiubzWzppl9oRW1GPW +afl8YckSNEqipmnAloRThckNfWDbyutnaQ5mEqfP2h7Xs9orf+WM+44MsD79qbSF +tDLaP6zYlpUXHTmAHCGhICWgIZpfGJ+DU4WKhzJ5qhXBtyMDB68weBTdEPAdSlr5 +U0JjlKHt7R7EecR7XXa0eDO/KOSgtsBrkUlhfAMz+Z6mTZ6iZJv21qzRqRRko+Hk +4fQwozQYpZ2sdT+u2aBbRqfj9UGdNi9COArdYfvLG6U6C1iFaoaO0UmwRKRhTVah +UuWe3xD6IkSOphdjppoUWuWfgbgdOjvGjWBX/LcAfNTTS0i1cw== +-----END CERTIFICATE----- diff --git a/librespeed/config/keys/cert.key b/librespeed/config/keys/cert.key new file mode 100644 index 0000000..f1bce91 --- /dev/null +++ b/librespeed/config/keys/cert.key @@ -0,0 +1,28 @@ +-----BEGIN PRIVATE KEY----- +MIIEvwIBADANBgkqhkiG9w0BAQEFAASCBKkwggSlAgEAAoIBAQCyAS2q/YAk1FLZ +OvPtva8P/JZjZ6cpGGtc4J+jtVsh1FO93YB6W9nEV7YtHf2ftxwbF/Gly8l0AoZy +4JgQgyaQc905Bf9SEkKbZbRlcC9IpDcZ8NE4nSb5mRWHDdTR2si9uCk8Mi/hpm9C +PSbwGRCdIkEbqedIv9u16ezbZ3nccBFup2n88J67sPJrp3I0U87tPX+g7bS8sdlL +etZbpkupuT9cTqVwE0mofrISM9ZW60Eez//MY6xbDWsU3RBePvNNUxs0q9R2jsDw +OhFtMKGcFud9hf7Vt8qZdp+oKvmZe8zJEk7muT1g6WUmjI5qNC88TkYZLNFTCyzl +rg0us4q1AgMBAAECggEAMMMT4JB7Jxum6m003z6kE0wNYoPFjgNrfdDmynDm2xiQ +LCXeiSZaPGgOtsNNdBA0OdPQVavCru32KMgPwA49ZTroMjPLYo8wAePVjCg0O8EI +eym2Fr0uLRfbhtiqISa+8QHfAed5qGXweoPIA+PJ4lG85jgf7JTqOiYvxVbOUi1I +BPUWsfilT1bNmMMzvU7RzskfE4VLWs/Rg2aqz3lTvYYK9IakG8smEZPPMKhY0j7o +0tJpOT8yj0mAAb0VnkB4+11T64btf/okl1EW3ap8tMOJbrxWmBKtrT5QxsJxmmX5 +FwT7n450/gAut0wNdq121ftQ+d1hh7oTiLv76OqYIQKBgQDcdBHF0F8I1Ed0CNGk +jx7SGNvCVOlWNWIZgTt5bXc+qoOvf41/DHbcre4Sg0pa1RGGPMqxbDi4wqwthv9c +r7epYf0CZN/m5V2MdrKt38VPvAR72u7BevY6UO3hI5aUKmjk+nJWF1MY6pHItPpi +gc4UScS3ibkRZgqGi0TIhfM8OQKBgQDOtOWkTTQnUnTJwOS2JxpHK3cdyBGs02Ic +WFN+jVwxcjqlUI+wahhtie5lkpj7IpnnWQM1mPxXE5hOZ8q++G8WTWiPEUOQfz6h +GMEmvUTXrrPHE74pzIdGRyMH/uwzZlMYN9SCQ3vsTVC2rJgbWz7bHaCSfk6kFvzs +pAZ/fr/6XQKBgQC+CbSUcLar1sqtxThrghDQjitLD4WCEky5rcTGPU4REE6qh+tC +/UytmaXkAZekS45qyJb2cVNIOlDQglI55SQO+PBxEuJMmaaWAnCvIHpn7K1001sE +IOqHhOI7NUGGAjUgRqEvg7XXgcYgXZqGNl2e8aSJj0ihLfSe3QlzTr1KSQKBgQDF +rtL/8qWyBXWTjVotqe/DqJnebXwZ4H6vxPj0ypQk5a2YdBc3DAAYohTQJwcPBeRS +EBq1o32QeTjrou+O+2Ch353jVQtcoZRv1JDET7YK3xUnioYOy3+DgnzKJM4XygAl +5R7jBU76imZqjV1arETMoOTztL/YxfNVDPj57WoEMQKBgQDH7RPm3P7kVUD/Mt2p +fWIJMS7N326hfMghWVTDpiivvGZNwS4BfLfrWvRU8mHTKZs/qh3svs9kP8vGDUcK +0KJkQIPdxtHHXZU6LqQpUXp+/jNat2LyjgAoAvHyser9z13Bmm4LUE4Bm3RDl8/o +yNiYxpwO4PyiS3KKacUp8DknZA== +-----END PRIVATE KEY----- diff --git a/librespeed/config/log/logrotate.status b/librespeed/config/log/logrotate.status new file mode 100644 index 0000000..7339ccd --- /dev/null +++ b/librespeed/config/log/logrotate.status @@ -0,0 +1,6 @@ +logrotate state -- version 2 +"/var/log/acpid.log" 2023-1-10-2:0:0 +"/config/log/nginx/access.log" 2023-3-27-2:0:0 +"/config/log/nginx/error.log" 2023-3-27-2:0:0 +"/var/log/php8/*.log" 2023-1-10-2:0:0 +"/config/log/php/error.log" 2023-3-27-2:0:0 diff --git a/librespeed/config/log/nginx/access.log b/librespeed/config/log/nginx/access.log new file mode 100644 index 0000000..1750162 --- /dev/null +++ b/librespeed/config/log/nginx/access.log @@ -0,0 +1,72 @@ +172.19.0.25 - - [28/Mar/2023:09:07:59 +0200] "GET / HTTP/1.1" 200 10251 "-" "Expanse, a Palo Alto Networks company, searches across the global IPv4 space multiple times per day to identify customers' presences on the Internet. If you would like to be excluded from our scans, please send IP addresses/domains to: scaninfo@paloaltonetworks.com" +172.19.0.25 - - [28/Mar/2023:21:04:20 +0200] "GET / HTTP/1.1" 200 10251 "-" "Go-http-client/2.0" +172.19.0.25 - - [28/Mar/2023:21:04:21 +0200] "GET / HTTP/1.1" 200 10251 "-" "Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/32.0.1700.68 Safari/537.36" +172.19.0.25 - - [28/Mar/2023:21:04:24 +0200] "HEAD / HTTP/1.1" 200 0 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36" +172.19.0.25 - - [28/Mar/2023:21:04:28 +0200] "GET / HTTP/1.1" 200 10251 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/111.0.5563.64 Safari/537.36" +172.19.0.25 - - [28/Mar/2023:21:04:28 +0200] "GET /speedtest.js HTTP/1.1" 200 16965 "https://librespeed.milvert.com/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/111.0.5563.64 Safari/537.36" +172.19.0.25 - - [28/Mar/2023:21:04:49 +0200] "GET / HTTP/1.1" 200 10251 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.71 Safari/537.36" +172.19.0.25 - - [28/Mar/2023:21:05:16 +0200] "GET / HTTP/1.1" 200 10251 "-" "Mozilla/5.0 (Linux; U; Android 2.2; ja-jp; SC-02B Build/FROYO) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1" +172.19.0.25 - - [28/Mar/2023:21:05:41 +0200] "GET /.git/config HTTP/1.1" 200 10251 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.109 Safari/537.36" +172.19.0.25 - - [28/Mar/2023:21:05:48 +0200] "GET / HTTP/1.1" 200 10251 "-" "-" +172.19.0.25 - - [28/Mar/2023:21:05:48 +0200] "GET / HTTP/1.1" 200 10251 "-" "-" +172.19.0.25 - - [28/Mar/2023:21:05:48 +0200] "GET / HTTP/1.1" 200 10251 "-" "-" +172.19.0.25 - - [28/Mar/2023:21:05:49 +0200] "GET /info.php HTTP/1.1" 404 27 "-" "Go-http-client/1.1" +172.19.0.25 - - [28/Mar/2023:21:05:49 +0200] "GET /s/33e27393e2431313e2838313/_/;/META-INF/maven/com.atlassian.jira/jira-webapp-dist/pom.properties HTTP/1.1" 200 10251 "-" "Go-http-client/1.1" +172.19.0.25 - - [28/Mar/2023:21:05:49 +0200] "GET / HTTP/1.1" 200 10251 "-" "Mozilla/5.0 (Linux; Android 6.0; HTC One M9 Build/MRA58K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.98 Mobile Safari/537.3" +172.19.0.25 - - [28/Mar/2023:21:05:49 +0200] "GET / HTTP/1.1" 200 10251 "-" "-" +172.19.0.25 - - [28/Mar/2023:21:05:50 +0200] "GET /.env HTTP/1.1" 200 10251 "-" "Go-http-client/1.1" +172.19.0.25 - - [28/Mar/2023:21:05:50 +0200] "GET /.DS_Store HTTP/1.1" 200 10251 "-" "Go-http-client/1.1" +172.19.0.25 - - [28/Mar/2023:21:05:50 +0200] "GET /?rest_route=/wp/v2/users/ HTTP/1.1" 200 10251 "-" "Go-http-client/1.1" +172.19.0.25 - - [28/Mar/2023:21:05:50 +0200] "GET /.git/config HTTP/1.1" 200 10251 "-" "Go-http-client/1.1" +172.19.0.25 - - [28/Mar/2023:21:05:50 +0200] "GET /server-status HTTP/1.1" 200 10251 "-" "Go-http-client/1.1" +172.19.0.25 - - [28/Mar/2023:21:05:50 +0200] "GET /telescope/requests HTTP/1.1" 200 10251 "-" "Go-http-client/1.1" +172.19.0.25 - - [28/Mar/2023:21:05:50 +0200] "GET /info.php HTTP/1.1" 404 27 "-" "Go-http-client/1.1" +172.19.0.25 - - [28/Mar/2023:21:05:50 +0200] "GET /.DS_Store HTTP/1.1" 200 10251 "-" "Go-http-client/1.1" +172.19.0.25 - - [28/Mar/2023:21:05:50 +0200] "GET /ecp/Current/exporttool/microsoft.exchange.ediscovery.exporttool.application HTTP/1.1" 200 10251 "-" "Go-http-client/1.1" +172.19.0.25 - - [28/Mar/2023:21:05:50 +0200] "GET /ecp/Current/exporttool/microsoft.exchange.ediscovery.exporttool.application HTTP/1.1" 200 10251 "-" "Go-http-client/1.1" +172.19.0.25 - - [28/Mar/2023:21:05:50 +0200] "GET /server-status HTTP/1.1" 200 10251 "-" "Go-http-client/1.1" +172.19.0.25 - - [28/Mar/2023:21:05:50 +0200] "GET / HTTP/1.1" 200 10251 "-" "Mozilla/5.0 (Linux; Android 6.0; HTC One M9 Build/MRA615725) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.3161.98 Mobile Safari/537.3" +172.19.0.25 - - [28/Mar/2023:21:05:50 +0200] "GET /debug/default/view?panel=config HTTP/1.1" 200 10251 "-" "Go-http-client/1.1" +172.19.0.25 - - [28/Mar/2023:21:05:50 +0200] "GET /s/33e26393e2431313e2838313/_/;/META-INF/maven/com.atlassian.jira/jira-webapp-dist/pom.properties HTTP/1.1" 200 10251 "-" "Go-http-client/1.1" +172.19.0.25 - - [28/Mar/2023:21:05:50 +0200] "GET /?rest_route=/wp/v2/users/ HTTP/1.1" 200 10251 "-" "Go-http-client/1.1" +172.19.0.25 - - [28/Mar/2023:21:05:50 +0200] "GET /debug/default/view?panel=config HTTP/1.1" 200 10251 "-" "Go-http-client/1.1" +172.19.0.25 - - [28/Mar/2023:21:05:50 +0200] "GET / HTTP/1.1" 200 10251 "-" "Mozilla/5.0 (Linux; Android 6.0; HTC One M9 Build/MRA615981) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.3161.98 Mobile Safari/537.3" +172.19.0.25 - - [28/Mar/2023:21:05:50 +0200] "GET /.vscode/sftp.json HTTP/1.1" 200 10251 "-" "Go-http-client/1.1" +172.19.0.25 - - [28/Mar/2023:21:05:50 +0200] "GET /.env HTTP/1.1" 200 10251 "-" "Go-http-client/1.1" +172.19.0.25 - - [28/Mar/2023:21:05:50 +0200] "GET /telescope/requests HTTP/1.1" 200 10251 "-" "Go-http-client/1.1" +172.19.0.25 - - [28/Mar/2023:21:05:50 +0200] "GET /.git/config HTTP/1.1" 200 10251 "-" "Go-http-client/1.1" +172.19.0.25 - - [28/Mar/2023:21:05:50 +0200] "GET /.vscode/sftp.json HTTP/1.1" 200 10251 "-" "Go-http-client/1.1" +172.19.0.25 - - [28/Mar/2023:21:05:50 +0200] "GET /login.action HTTP/1.1" 200 10251 "-" "Go-http-client/1.1" +172.19.0.25 - - [28/Mar/2023:21:05:50 +0200] "GET /api/search?folderIds=0 HTTP/1.1" 200 10251 "-" "Go-http-client/1.1" +172.19.0.25 - - [28/Mar/2023:21:05:50 +0200] "GET /v2/_catalog HTTP/1.1" 200 10251 "-" "Go-http-client/1.1" +172.19.0.25 - - [28/Mar/2023:21:05:51 +0200] "GET /config.json HTTP/1.1" 200 10251 "-" "Go-http-client/1.1" +172.19.0.25 - - [28/Mar/2023:21:05:51 +0200] "GET / HTTP/1.1" 200 10251 "-" "Mozilla/5.0 (Linux; Android 6.0; HTC One M9 Build/MRA58K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.98 Mobile Safari/537.3" +172.19.0.25 - - [28/Mar/2023:21:05:51 +0200] "GET /v2/_catalog HTTP/1.1" 200 10251 "-" "Go-http-client/1.1" +172.19.0.25 - - [28/Mar/2023:21:05:51 +0200] "GET /api/search?folderIds=0 HTTP/1.1" 200 10251 "-" "Go-http-client/1.1" +172.19.0.25 - - [28/Mar/2023:21:05:51 +0200] "GET /about HTTP/1.1" 200 10251 "-" "Go-http-client/1.1" +172.19.0.25 - - [28/Mar/2023:21:05:51 +0200] "GET /login.action HTTP/1.1" 200 10251 "-" "Go-http-client/1.1" +172.19.0.25 - - [28/Mar/2023:21:05:51 +0200] "GET /config.json HTTP/1.1" 200 10251 "-" "Go-http-client/1.1" +172.19.0.25 - - [28/Mar/2023:21:05:51 +0200] "GET /about HTTP/1.1" 200 10251 "-" "Go-http-client/1.1" +172.19.0.25 - - [28/Mar/2023:21:06:13 +0200] "HEAD / HTTP/1.1" 200 0 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36" +172.19.0.25 - - [28/Mar/2023:21:34:10 +0200] "GET / HTTP/1.1" 200 10251 "-" "Go-http-client/2.0" +172.19.0.25 - - [28/Mar/2023:21:57:17 +0200] "GET / HTTP/1.1" 200 10251 "-" "Mozilla/5.0 (Linux; U; Android 2.2; ja-jp; SC-02B Build/FROYO) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1" +172.19.0.25 - - [28/Mar/2023:21:57:17 +0200] "GET / HTTP/1.1" 200 10251 "-" "Mozilla/5.0 (Linux; U; Android 2.2; ja-jp; SC-02B Build/FROYO) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1" +172.19.0.25 - - [28/Mar/2023:21:58:07 +0200] "HEAD / HTTP/1.1" 200 0 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36" +172.19.0.25 - - [28/Mar/2023:21:58:15 +0200] "HEAD / HTTP/1.1" 200 0 "http://librespeed.milvert.com" "Go-http-client/2.0" +172.19.0.25 - - [28/Mar/2023:21:58:15 +0200] "HEAD / HTTP/1.1" 200 0 "http://librespeed.milvert.com" "Go-http-client/2.0" +172.19.0.25 - - [28/Mar/2023:21:58:46 +0200] "GET / HTTP/1.1" 200 10251 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/111.0.5563.64 Safari/537.36" +172.19.0.25 - - [28/Mar/2023:21:58:46 +0200] "GET /speedtest.js HTTP/1.1" 200 16965 "https://librespeed.milvert.com/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/111.0.5563.64 Safari/537.36" +172.19.0.25 - - [28/Mar/2023:23:04:10 +0200] "GET / HTTP/1.1" 200 10251 "-" "Mozilla/5.0 (Linux; U; Android 2.2; ja-jp; SC-02B Build/FROYO) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1" +172.19.0.25 - - [28/Mar/2023:23:04:11 +0200] "GET / HTTP/1.1" 200 10251 "-" "Mozilla/5.0 (Linux; U; Android 2.2; ja-jp; SC-02B Build/FROYO) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1" +172.19.0.25 - - [28/Mar/2023:23:04:40 +0200] "GET / HTTP/1.1" 200 10251 "-" "Mozilla/5.0 (iPhone; CPU iPhone OS 15_1_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.1 Mobile/15E148 Safari/604.1" +172.19.0.25 - - [28/Mar/2023:23:11:45 +0200] "GET / HTTP/1.1" 200 10251 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/110.0.0.0 Safari/537.36" +172.19.0.25 - - [28/Mar/2023:23:56:14 +0200] "GET / HTTP/1.1" 200 10251 "-" "Mozilla/5.0 (Linux; U; Android 2.2; ja-jp; SC-02B Build/FROYO) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1" +172.19.0.25 - - [28/Mar/2023:23:56:14 +0200] "GET / HTTP/1.1" 200 10251 "-" "Mozilla/5.0 (Linux; U; Android 2.2; ja-jp; SC-02B Build/FROYO) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1" +172.19.0.25 - - [28/Mar/2023:23:56:17 +0200] "GET / HTTP/1.1" 200 10251 "-" "Mozilla/5.0 (Linux; U; Android 2.2; ja-jp; SC-02B Build/FROYO) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1" +172.19.0.25 - - [28/Mar/2023:23:56:17 +0200] "GET / HTTP/1.1" 200 10251 "-" "Mozilla/5.0 (Linux; U; Android 2.2; ja-jp; SC-02B Build/FROYO) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1" +172.19.0.25 - - [29/Mar/2023:07:50:58 +0200] "GET / HTTP/1.1" 200 10251 "-" "Expanse, a Palo Alto Networks company, searches across the global IPv4 space multiple times per day to identify customers' presences on the Internet. If you would like to be excluded from our scans, please send IP addresses/domains to: scaninfo@paloaltonetworks.com" +172.19.0.25 - - [29/Mar/2023:12:24:01 +0200] "GET / HTTP/1.1" 200 10251 "-" "Mozilla/5.0 (Linux; Android 11; M2004J15SC) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.5060.114 Mobile Safari/537.36" +172.19.0.25 - - [29/Mar/2023:12:24:03 +0200] "GET /Public/home/js/check.js HTTP/1.1" 200 10251 "-" "Mozilla/5.0 (Linux; Android 11; M2004J15SC) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.5060.114 Mobile Safari/537.36" +172.19.0.25 - - [29/Mar/2023:12:24:17 +0200] "GET /static/admin/javascript/hetong.js HTTP/1.1" 200 10251 "-" "Mozilla/5.0 (Linux; Android 11; M2004J15SC) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.5060.114 Mobile Safari/537.36" +172.19.0.25 - - [29/Mar/2023:12:45:18 +0200] "GET / HTTP/1.1" 200 10251 "-" "Mozilla/5.0 (Linux; Android 11; M2004J15SC) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.5060.114 Mobile Safari/537.36" +172.19.0.25 - - [29/Mar/2023:12:45:20 +0200] "GET /Public/home/js/check.js HTTP/1.1" 200 10251 "-" "Mozilla/5.0 (Linux; Android 11; M2004J15SC) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.5060.114 Mobile Safari/537.36" diff --git a/librespeed/config/log/nginx/access.log.1 b/librespeed/config/log/nginx/access.log.1 new file mode 100644 index 0000000..564ca4b --- /dev/null +++ b/librespeed/config/log/nginx/access.log.1 @@ -0,0 +1,12 @@ +172.19.0.25 - - [21/Mar/2023:02:29:37 +0100] "GET / HTTP/1.1" 200 10251 "-" "Expanse, a Palo Alto Networks company, searches across the global IPv4 space multiple times per day to identify customers' presences on the Internet. If you would like to be excluded from our scans, please send IP addresses/domains to: scaninfo@paloaltonetworks.com" +172.19.0.25 - - [21/Mar/2023:07:35:06 +0100] "GET / HTTP/1.1" 200 10251 "-" "Expanse, a Palo Alto Networks company, searches across the global IPv4 space multiple times per day to identify customers' presences on the Internet. If you would like to be excluded from our scans, please send IP addresses/domains to: scaninfo@paloaltonetworks.com" +172.19.0.25 - - [24/Mar/2023:17:26:06 +0100] "GET / HTTP/1.1" 200 10251 "-" "Expanse, a Palo Alto Networks company, searches across the global IPv4 space multiple times per day to identify customers' presences on the Internet. If you would like to be excluded from our scans, please send IP addresses/domains to: scaninfo@paloaltonetworks.com" +172.19.0.25 - - [24/Mar/2023:17:36:47 +0100] "GET /wp-login.php HTTP/1.1" 404 27 "http://librespeed.milvert.com/wp-login.php" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:96.0) Gecko/20100101 Firefox/96" +172.19.0.25 - - [24/Mar/2023:18:01:10 +0100] "GET / HTTP/1.1" 200 10251 "-" "Expanse, a Palo Alto Networks company, searches across the global IPv4 space multiple times per day to identify customers' presences on the Internet. If you would like to be excluded from our scans, please send IP addresses/domains to: scaninfo@paloaltonetworks.com" +172.19.0.25 - - [25/Mar/2023:02:58:45 +0100] "GET / HTTP/1.1" 200 10251 "http://librespeed.milvert.com" "Mozilla/5.0 (compatible; InternetMeasurement/1.0; +https://internet-measurement.com/)" +172.19.0.25 - - [25/Mar/2023:02:58:46 +0100] "GET /favicon.ico HTTP/1.1" 200 16958 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Safari/537.36" +172.19.0.25 - - [25/Mar/2023:16:58:03 +0100] "GET / HTTP/1.1" 200 10251 "-" "-" +172.19.0.25 - - [25/Mar/2023:18:25:55 +0100] "GET / HTTP/1.1" 200 10251 "-" "-" +172.19.0.25 - - [25/Mar/2023:19:15:38 +0100] "GET / HTTP/1.1" 200 10251 "http://172.67.170.69:80/" "-" +172.19.0.25 - - [26/Mar/2023:03:42:01 +0200] "GET /wp-login.php HTTP/1.1" 404 27 "http://librespeed.milvert.com/wp-login.php" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:96.0) Gecko/20100101 Firefox/96" +172.19.0.25 - - [26/Mar/2023:08:23:09 +0200] "GET / HTTP/1.1" 200 10251 "http://104.21.63.75:80/" "-" diff --git a/librespeed/config/log/nginx/access.log.10.gz b/librespeed/config/log/nginx/access.log.10.gz new file mode 100644 index 0000000..996f9b2 Binary files /dev/null and b/librespeed/config/log/nginx/access.log.10.gz differ diff --git a/librespeed/config/log/nginx/access.log.11.gz b/librespeed/config/log/nginx/access.log.11.gz new file mode 100644 index 0000000..4c70e99 Binary files /dev/null and b/librespeed/config/log/nginx/access.log.11.gz differ diff --git a/librespeed/config/log/nginx/access.log.2.gz b/librespeed/config/log/nginx/access.log.2.gz new file mode 100644 index 0000000..f2b4328 Binary files /dev/null and b/librespeed/config/log/nginx/access.log.2.gz differ diff --git a/librespeed/config/log/nginx/access.log.3.gz b/librespeed/config/log/nginx/access.log.3.gz new file mode 100644 index 0000000..cba29b5 Binary files /dev/null and b/librespeed/config/log/nginx/access.log.3.gz differ diff --git a/librespeed/config/log/nginx/access.log.4.gz b/librespeed/config/log/nginx/access.log.4.gz new file mode 100644 index 0000000..b0015fc Binary files /dev/null and b/librespeed/config/log/nginx/access.log.4.gz differ diff --git a/librespeed/config/log/nginx/access.log.5.gz b/librespeed/config/log/nginx/access.log.5.gz new file mode 100644 index 0000000..2f9c130 Binary files /dev/null and b/librespeed/config/log/nginx/access.log.5.gz differ diff --git a/librespeed/config/log/nginx/access.log.6.gz b/librespeed/config/log/nginx/access.log.6.gz new file mode 100644 index 0000000..94fb6c0 Binary files /dev/null and b/librespeed/config/log/nginx/access.log.6.gz differ diff --git a/librespeed/config/log/nginx/access.log.7.gz b/librespeed/config/log/nginx/access.log.7.gz new file mode 100644 index 0000000..9268f7a Binary files /dev/null and b/librespeed/config/log/nginx/access.log.7.gz differ diff --git a/librespeed/config/log/nginx/access.log.8.gz b/librespeed/config/log/nginx/access.log.8.gz new file mode 100644 index 0000000..a22c5c9 Binary files /dev/null and b/librespeed/config/log/nginx/access.log.8.gz differ diff --git a/librespeed/config/log/nginx/access.log.9.gz b/librespeed/config/log/nginx/access.log.9.gz new file mode 100644 index 0000000..b34581e Binary files /dev/null and b/librespeed/config/log/nginx/access.log.9.gz differ diff --git a/librespeed/config/log/nginx/error.log b/librespeed/config/log/nginx/error.log new file mode 100644 index 0000000..eaa333c --- /dev/null +++ b/librespeed/config/log/nginx/error.log @@ -0,0 +1,2 @@ +2023/03/28 21:05:49 [error] 1843#1843: *20 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 172.19.0.25, server: _, request: "GET /info.php HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "librespeed.milvert.com" +2023/03/28 21:05:50 [error] 1844#1844: *23 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 172.19.0.25, server: _, request: "GET /info.php HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "librespeed.milvert.com" diff --git a/librespeed/config/log/nginx/error.log.1 b/librespeed/config/log/nginx/error.log.1 new file mode 100644 index 0000000..788d1fb --- /dev/null +++ b/librespeed/config/log/nginx/error.log.1 @@ -0,0 +1,2 @@ +2023/03/24 17:36:47 [error] 850#850: *9 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 172.19.0.25, server: _, request: "GET /wp-login.php HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "librespeed.milvert.com", referrer: "http://librespeed.milvert.com/wp-login.php" +2023/03/26 03:42:01 [error] 850#850: *16 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 172.19.0.25, server: _, request: "GET /wp-login.php HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "librespeed.milvert.com", referrer: "http://librespeed.milvert.com/wp-login.php" diff --git a/librespeed/config/log/nginx/error.log.2.gz b/librespeed/config/log/nginx/error.log.2.gz new file mode 100644 index 0000000..52a68f7 Binary files /dev/null and b/librespeed/config/log/nginx/error.log.2.gz differ diff --git a/librespeed/config/log/nginx/error.log.3.gz b/librespeed/config/log/nginx/error.log.3.gz new file mode 100644 index 0000000..94994b3 Binary files /dev/null and b/librespeed/config/log/nginx/error.log.3.gz differ diff --git a/librespeed/config/log/nginx/error.log.4.gz b/librespeed/config/log/nginx/error.log.4.gz new file mode 100644 index 0000000..e8f31af Binary files /dev/null and b/librespeed/config/log/nginx/error.log.4.gz differ diff --git a/librespeed/config/log/nginx/error.log.5.gz b/librespeed/config/log/nginx/error.log.5.gz new file mode 100644 index 0000000..b03f496 Binary files /dev/null and b/librespeed/config/log/nginx/error.log.5.gz differ diff --git a/librespeed/config/log/nginx/error.log.6.gz b/librespeed/config/log/nginx/error.log.6.gz new file mode 100644 index 0000000..4efd6cb Binary files /dev/null and b/librespeed/config/log/nginx/error.log.6.gz differ diff --git a/librespeed/config/log/php/error.log b/librespeed/config/log/php/error.log new file mode 100644 index 0000000..57cb284 --- /dev/null +++ b/librespeed/config/log/php/error.log @@ -0,0 +1,2 @@ +[27-Mar-2023 02:00:00] NOTICE: fpm is running, pid 1848 +[27-Mar-2023 02:00:00] NOTICE: ready to handle connections diff --git a/librespeed/config/log/php/error.log.1 b/librespeed/config/log/php/error.log.1 new file mode 100644 index 0000000..a80f716 --- /dev/null +++ b/librespeed/config/log/php/error.log.1 @@ -0,0 +1,4 @@ +[19-Mar-2023 02:00:01] NOTICE: fpm is running, pid 855 +[19-Mar-2023 02:00:01] NOTICE: ready to handle connections +[27-Mar-2023 02:00:00] NOTICE: Terminating ... +[27-Mar-2023 02:00:00] NOTICE: exiting, bye-bye! diff --git a/librespeed/config/log/php/error.log.2.gz b/librespeed/config/log/php/error.log.2.gz new file mode 100644 index 0000000..8c8edb4 Binary files /dev/null and b/librespeed/config/log/php/error.log.2.gz differ diff --git a/librespeed/config/log/php/error.log.3.gz b/librespeed/config/log/php/error.log.3.gz new file mode 100644 index 0000000..c1367ef Binary files /dev/null and b/librespeed/config/log/php/error.log.3.gz differ diff --git a/librespeed/config/log/php/error.log.4.gz b/librespeed/config/log/php/error.log.4.gz new file mode 100644 index 0000000..6075166 Binary files /dev/null and b/librespeed/config/log/php/error.log.4.gz differ diff --git a/librespeed/config/log/php/error.log.5.gz b/librespeed/config/log/php/error.log.5.gz new file mode 100644 index 0000000..4dcecf7 Binary files /dev/null and b/librespeed/config/log/php/error.log.5.gz differ diff --git a/librespeed/config/log/php/error.log.6.gz b/librespeed/config/log/php/error.log.6.gz new file mode 100644 index 0000000..805d00a Binary files /dev/null and b/librespeed/config/log/php/error.log.6.gz differ diff --git a/librespeed/config/log/php/error.log.7.gz b/librespeed/config/log/php/error.log.7.gz new file mode 100644 index 0000000..1175e1b Binary files /dev/null and b/librespeed/config/log/php/error.log.7.gz differ diff --git a/librespeed/config/nginx/dhparams.pem b/librespeed/config/nginx/dhparams.pem new file mode 100644 index 0000000..eed4c41 --- /dev/null +++ b/librespeed/config/nginx/dhparams.pem @@ -0,0 +1,13 @@ +-----BEGIN DH PARAMETERS----- +MIICCAKCAgEA//////////+t+FRYortKmq/cViAnPTzx2LnFg84tNpWp4TZBFGQz ++8yTnc4kmz75fS/jY2MMddj2gbICrsRhetPfHtXV/WVhJDP1H18GbtCFY2VVPe0a +87VXE15/V8k1mE8McODmi3fipona8+/och3xWKE2rec1MKzKT0g6eXq8CrGCsyT7 +YdEIqUuyyOP7uWrat2DX9GgdT0Kj3jlN9K5W7edjcrsZCwenyO4KbXCeAvzhzffi +7MA0BM0oNC9hkXL+nOmFg/+OTxIy7vKBg8P+OxtMb61zO7X8vC7CIAXFjvGDfRaD +ssbzSibBsu/6iGtCOGEfz9zeNVs7ZRkDW7w09N75nAI4YbRvydbmyQd62R0mkff3 +7lmMsPrBhtkcrv4TCYUTknC0EwyTvEN5RPT9RFLi103TZPLiHnH1S/9croKrnJ32 +nuhtK8UiNjoNq8Uhl5sN6todv5pC1cRITgq80Gv6U93vPBsg7j/VnXwl5B0rZp4e +8W5vUsMWTfT7eTDp5OWIV7asfV9C1p9tGHdjzx1VA0AEh/VbpX4xzHpxNciG77Qx +iu1qHgEtnmgyqQdgCpGBMMRtx3j5ca0AOAkpmaMzy4t6Gh25PXFAADwqTs6p+Y0K +zAqCkc3OyX3Pjsm1Wn+IpGtNtahR9EGC4caKAH5eZV9q//////////8CAQI= +-----END DH PARAMETERS----- \ No newline at end of file diff --git a/librespeed/config/nginx/nginx.conf b/librespeed/config/nginx/nginx.conf new file mode 100644 index 0000000..561260b --- /dev/null +++ b/librespeed/config/nginx/nginx.conf @@ -0,0 +1,81 @@ +## Version 2022/08/16 - Changelog: https://github.com/linuxserver/docker-baseimage-alpine-nginx/commits/master/root/defaults/nginx/nginx.conf.sample + +### Based on alpine defaults +# https://git.alpinelinux.org/aports/tree/main/nginx/nginx.conf?h=3.15-stable + +user abc; + +# Set number of worker processes automatically based on number of CPU cores. +include /config/nginx/worker_processes.conf; + +# Enables the use of JIT for regular expressions to speed-up their processing. +pcre_jit on; + +# Configures default error logger. +error_log /config/log/nginx/error.log; + +# Includes files with directives to load dynamic modules. +include /etc/nginx/modules/*.conf; + +# Include files with config snippets into the root context. +include /etc/nginx/conf.d/*.conf; + +events { + # The maximum number of simultaneous connections that can be opened by + # a worker process. + worker_connections 1024; +} + +http { + # Includes mapping of file name extensions to MIME types of responses + # and defines the default type. + include /etc/nginx/mime.types; + default_type application/octet-stream; + + # Name servers used to resolve names of upstream servers into addresses. + # It's also needed when using tcpsocket and udpsocket in Lua modules. + #resolver 1.1.1.1 1.0.0.1 2606:4700:4700::1111 2606:4700:4700::1001; + include /config/nginx/resolver.conf; + + # Don't tell nginx version to the clients. Default is 'on'. + server_tokens off; + + # Specifies the maximum accepted body size of a client request, as + # indicated by the request header Content-Length. If the stated content + # length is greater than this size, then the client receives the HTTP + # error code 413. Set to 0 to disable. Default is '1m'. + client_max_body_size 0; + + # Sendfile copies data between one FD and other from within the kernel, + # which is more efficient than read() + write(). Default is off. + sendfile on; + + # Causes nginx to attempt to send its HTTP response head in one packet, + # instead of using partial frames. Default is 'off'. + tcp_nopush on; + + # all ssl related config moved to ssl.conf + include /config/nginx/ssl.conf; + + # Enable gzipping of responses. + #gzip on; + + # Set the Vary HTTP header as defined in the RFC 2616. Default is 'off'. + gzip_vary on; + + # Helper variable for proxying websockets. + map $http_upgrade $connection_upgrade { + default upgrade; + '' close; + } + + # Sets the path, format, and configuration for a buffered log write. + access_log /config/log/nginx/access.log; + + # Includes virtual hosts configs. + include /etc/nginx/http.d/*.conf; + include /config/nginx/site-confs/*.conf; +} + +daemon off; +pid /run/nginx.pid; diff --git a/librespeed/config/nginx/nginx.conf.sample b/librespeed/config/nginx/nginx.conf.sample new file mode 100644 index 0000000..561260b --- /dev/null +++ b/librespeed/config/nginx/nginx.conf.sample @@ -0,0 +1,81 @@ +## Version 2022/08/16 - Changelog: https://github.com/linuxserver/docker-baseimage-alpine-nginx/commits/master/root/defaults/nginx/nginx.conf.sample + +### Based on alpine defaults +# https://git.alpinelinux.org/aports/tree/main/nginx/nginx.conf?h=3.15-stable + +user abc; + +# Set number of worker processes automatically based on number of CPU cores. +include /config/nginx/worker_processes.conf; + +# Enables the use of JIT for regular expressions to speed-up their processing. +pcre_jit on; + +# Configures default error logger. +error_log /config/log/nginx/error.log; + +# Includes files with directives to load dynamic modules. +include /etc/nginx/modules/*.conf; + +# Include files with config snippets into the root context. +include /etc/nginx/conf.d/*.conf; + +events { + # The maximum number of simultaneous connections that can be opened by + # a worker process. + worker_connections 1024; +} + +http { + # Includes mapping of file name extensions to MIME types of responses + # and defines the default type. + include /etc/nginx/mime.types; + default_type application/octet-stream; + + # Name servers used to resolve names of upstream servers into addresses. + # It's also needed when using tcpsocket and udpsocket in Lua modules. + #resolver 1.1.1.1 1.0.0.1 2606:4700:4700::1111 2606:4700:4700::1001; + include /config/nginx/resolver.conf; + + # Don't tell nginx version to the clients. Default is 'on'. + server_tokens off; + + # Specifies the maximum accepted body size of a client request, as + # indicated by the request header Content-Length. If the stated content + # length is greater than this size, then the client receives the HTTP + # error code 413. Set to 0 to disable. Default is '1m'. + client_max_body_size 0; + + # Sendfile copies data between one FD and other from within the kernel, + # which is more efficient than read() + write(). Default is off. + sendfile on; + + # Causes nginx to attempt to send its HTTP response head in one packet, + # instead of using partial frames. Default is 'off'. + tcp_nopush on; + + # all ssl related config moved to ssl.conf + include /config/nginx/ssl.conf; + + # Enable gzipping of responses. + #gzip on; + + # Set the Vary HTTP header as defined in the RFC 2616. Default is 'off'. + gzip_vary on; + + # Helper variable for proxying websockets. + map $http_upgrade $connection_upgrade { + default upgrade; + '' close; + } + + # Sets the path, format, and configuration for a buffered log write. + access_log /config/log/nginx/access.log; + + # Includes virtual hosts configs. + include /etc/nginx/http.d/*.conf; + include /config/nginx/site-confs/*.conf; +} + +daemon off; +pid /run/nginx.pid; diff --git a/librespeed/config/nginx/resolver.conf b/librespeed/config/nginx/resolver.conf new file mode 100644 index 0000000..1ae22e7 --- /dev/null +++ b/librespeed/config/nginx/resolver.conf @@ -0,0 +1,3 @@ +# This file is auto-generated only on first start, based on the container's /etc/resolv.conf file. Feel free to modify it as you wish. + +resolver 127.0.0.11 valid=30s; diff --git a/librespeed/config/nginx/site-confs/default.conf b/librespeed/config/nginx/site-confs/default.conf new file mode 100644 index 0000000..d580ed7 --- /dev/null +++ b/librespeed/config/nginx/site-confs/default.conf @@ -0,0 +1,38 @@ +## Version 2022/10/04 - Changelog: https://github.com/linuxserver/docker-baseimage-alpine-nginx/commits/master/root/defaults/nginx/site-confs/default.conf.sample + +server { + listen 80 default_server; + listen [::]:80 default_server; + + listen 443 ssl http2 default_server; + listen [::]:443 ssl http2 default_server; + + server_name _; + + set $root /app/www/public; + if (!-d /app/www/public) { + set $root /config/www; + } + root $root; + index index.html index.htm index.php; + + location / { + # enable for basic auth + #auth_basic "Restricted"; + #auth_basic_user_file /config/nginx/.htpasswd; + + try_files $uri $uri/ /index.html /index.php$is_args$args =404; + } + + location ~ ^(.+\.php)(.*)$ { + fastcgi_split_path_info ^(.+\.php)(.*)$; + fastcgi_pass 127.0.0.1:9000; + fastcgi_index index.php; + include /etc/nginx/fastcgi_params; + } + + # deny access to .htaccess/.htpasswd files + location ~ /\.ht { + deny all; + } +} diff --git a/librespeed/config/nginx/site-confs/default.conf.sample b/librespeed/config/nginx/site-confs/default.conf.sample new file mode 100644 index 0000000..d580ed7 --- /dev/null +++ b/librespeed/config/nginx/site-confs/default.conf.sample @@ -0,0 +1,38 @@ +## Version 2022/10/04 - Changelog: https://github.com/linuxserver/docker-baseimage-alpine-nginx/commits/master/root/defaults/nginx/site-confs/default.conf.sample + +server { + listen 80 default_server; + listen [::]:80 default_server; + + listen 443 ssl http2 default_server; + listen [::]:443 ssl http2 default_server; + + server_name _; + + set $root /app/www/public; + if (!-d /app/www/public) { + set $root /config/www; + } + root $root; + index index.html index.htm index.php; + + location / { + # enable for basic auth + #auth_basic "Restricted"; + #auth_basic_user_file /config/nginx/.htpasswd; + + try_files $uri $uri/ /index.html /index.php$is_args$args =404; + } + + location ~ ^(.+\.php)(.*)$ { + fastcgi_split_path_info ^(.+\.php)(.*)$; + fastcgi_pass 127.0.0.1:9000; + fastcgi_index index.php; + include /etc/nginx/fastcgi_params; + } + + # deny access to .htaccess/.htpasswd files + location ~ /\.ht { + deny all; + } +} diff --git a/librespeed/config/nginx/ssl.conf b/librespeed/config/nginx/ssl.conf new file mode 100644 index 0000000..2cc2368 --- /dev/null +++ b/librespeed/config/nginx/ssl.conf @@ -0,0 +1,39 @@ +## Version 2022/08/20 - Changelog: https://github.com/linuxserver/docker-baseimage-alpine-nginx/commits/master/root/defaults/nginx/ssl.conf.sample + +### Mozilla Recommendations +# generated 2022-08-05, Mozilla Guideline v5.6, nginx 1.17.7, OpenSSL 1.1.1k, intermediate configuration +# https://ssl-config.mozilla.org/#server=nginx&version=1.17.7&config=intermediate&openssl=1.1.1k&guideline=5.6 + +ssl_certificate /config/keys/cert.crt; +ssl_certificate_key /config/keys/cert.key; +ssl_session_timeout 1d; +ssl_session_cache shared:MozSSL:10m; # about 40000 sessions +ssl_session_tickets off; + +# curl https://ssl-config.mozilla.org/ffdhe2048.txt > /path/to/dhparam +ssl_dhparam /config/nginx/dhparams.pem; + +# intermediate configuration +ssl_protocols TLSv1.2 TLSv1.3; +ssl_ciphers ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384; +ssl_prefer_server_ciphers off; + +# HSTS (ngx_http_headers_module is required) (63072000 seconds) +#add_header Strict-Transport-Security "max-age=63072000" always; + +# OCSP stapling +#ssl_stapling on; +#ssl_stapling_verify on; + +# verify chain of trust of OCSP response using Root CA and Intermediate certs +#ssl_trusted_certificate /config/keys/cert.crt; + +# Optional additional headers +#add_header Cache-Control "no-transform" always; +#add_header Content-Security-Policy "upgrade-insecure-requests; frame-ancestors 'self'"; +#add_header Permissions-Policy "interest-cohort=()"; +#add_header Referrer-Policy "same-origin" always; +#add_header X-Content-Type-Options "nosniff" always; +#add_header X-Frame-Options "SAMEORIGIN" always; +#add_header X-UA-Compatible "IE=Edge" always; +#add_header X-XSS-Protection "1; mode=block" always; diff --git a/librespeed/config/nginx/ssl.conf.sample b/librespeed/config/nginx/ssl.conf.sample new file mode 100644 index 0000000..2cc2368 --- /dev/null +++ b/librespeed/config/nginx/ssl.conf.sample @@ -0,0 +1,39 @@ +## Version 2022/08/20 - Changelog: https://github.com/linuxserver/docker-baseimage-alpine-nginx/commits/master/root/defaults/nginx/ssl.conf.sample + +### Mozilla Recommendations +# generated 2022-08-05, Mozilla Guideline v5.6, nginx 1.17.7, OpenSSL 1.1.1k, intermediate configuration +# https://ssl-config.mozilla.org/#server=nginx&version=1.17.7&config=intermediate&openssl=1.1.1k&guideline=5.6 + +ssl_certificate /config/keys/cert.crt; +ssl_certificate_key /config/keys/cert.key; +ssl_session_timeout 1d; +ssl_session_cache shared:MozSSL:10m; # about 40000 sessions +ssl_session_tickets off; + +# curl https://ssl-config.mozilla.org/ffdhe2048.txt > /path/to/dhparam +ssl_dhparam /config/nginx/dhparams.pem; + +# intermediate configuration +ssl_protocols TLSv1.2 TLSv1.3; +ssl_ciphers ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384; +ssl_prefer_server_ciphers off; + +# HSTS (ngx_http_headers_module is required) (63072000 seconds) +#add_header Strict-Transport-Security "max-age=63072000" always; + +# OCSP stapling +#ssl_stapling on; +#ssl_stapling_verify on; + +# verify chain of trust of OCSP response using Root CA and Intermediate certs +#ssl_trusted_certificate /config/keys/cert.crt; + +# Optional additional headers +#add_header Cache-Control "no-transform" always; +#add_header Content-Security-Policy "upgrade-insecure-requests; frame-ancestors 'self'"; +#add_header Permissions-Policy "interest-cohort=()"; +#add_header Referrer-Policy "same-origin" always; +#add_header X-Content-Type-Options "nosniff" always; +#add_header X-Frame-Options "SAMEORIGIN" always; +#add_header X-UA-Compatible "IE=Edge" always; +#add_header X-XSS-Protection "1; mode=block" always; diff --git a/librespeed/config/nginx/worker_processes.conf b/librespeed/config/nginx/worker_processes.conf new file mode 100644 index 0000000..8629a9e --- /dev/null +++ b/librespeed/config/nginx/worker_processes.conf @@ -0,0 +1,3 @@ +# This file is auto-generated only on first start, based on the cpu cores detected. Feel free to change it to any other number or to auto to let nginx handle it automatically. + +worker_processes 4; diff --git a/librespeed/config/php/php-local.ini b/librespeed/config/php/php-local.ini new file mode 100644 index 0000000..81f1b41 --- /dev/null +++ b/librespeed/config/php/php-local.ini @@ -0,0 +1,3 @@ +; Edit this file to override php.ini directives and restart the container + +date.timezone = Europe/Stockholm diff --git a/librespeed/config/php/www2.conf b/librespeed/config/php/www2.conf new file mode 100644 index 0000000..13fc59d --- /dev/null +++ b/librespeed/config/php/www2.conf @@ -0,0 +1,5 @@ +; Edit this file to override www.conf and php-fpm.conf directives and restart the container + +; Pool name +[www] + diff --git a/librespeed/config/speedtest_telemetry.sql b/librespeed/config/speedtest_telemetry.sql new file mode 100644 index 0000000..05861e1 Binary files /dev/null and b/librespeed/config/speedtest_telemetry.sql differ diff --git a/librespeed/config/www/example-multipleServers-full.html b/librespeed/config/www/example-multipleServers-full.html new file mode 100755 index 0000000..125edf5 --- /dev/null +++ b/librespeed/config/www/example-multipleServers-full.html @@ -0,0 +1,490 @@ + + +
+ + + + + + +Selecting a server...
+