Run dockerized nextcloud behind a cloudflare tunnel with HTTPS enabled

Support intro

Sorry to hear you’re facing problems :slightly_frowning_face:

help.nextcloud.com is for home/non-enterprise users. If you’re running a business, paid support can be accessed via portal.nextcloud.com where we can ensure your business keeps running smoothly.

In order to help you as quickly as possible, before clicking Create Topic please provide as much of the below as you can. Feel free to use a pastebin service for logs, otherwise either indent short log examples with four spaces:

example

Or for longer, use three backticks above and below the code snippet:

longer
example
here

Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can :heart:

Nextcloud version (eg, 20.0.5): nextcloud:24.0.5-apache
Operating system and version (eg, Ubuntu 20.04): docker version 20.10.3 on Synology DSM 7.1-42661 Update 4
Apache or nginx version (eg, Apache 2.4.25): Not sure which apache version is in the nextcloud container but the nginx container is nginx version: nginx/1.23.1
PHP version (eg, 7.4): not sure which version is in the nextcloud container

The issue you are facing:

I am trying to setup a personal nextcloud instance behind a Cloudflare Tunnel. I have setup the CloudFlare Tunnel to be strict with its SSL enforcement.

I first started out with this config for the nginx

upstream nextcloud {
    server nextcloud_app:80 fail_timeout=0;
}

server {
    listen 80;
    server_name the.fqdn.com;

    location / {
        proxy_set_header        Host $host:$server_port;
        proxy_set_header        X-Real-IP $remote_addr;
        proxy_set_header        X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_set_header        X-Forwarded-Proto $scheme;
        proxy_redirect http:// https://;
        proxy_pass              http://nextcloud;
        proxy_read_timeout 3600;
        # Required for new HTTP-based CLI
        proxy_http_version 1.1;
        proxy_request_buffering off;
    }
}

and the relevant parts of my docker-compose file is

  nextcloud_postgres:
      image: postgres:alpine
      restart: unless-stopped
      volumes:
          - nextcloud_postgres_db:/var/lib/postgresql/data
      environment:
          - POSTGRES_PASSWORD=/run/secrets/postgres_db_password
          - POSTGRES_DB=nextcloud_postgres_db
          - POSTGRES_USER=nextcloud_postgres_db_admin
      container_name: nextcloud_postgres
      networks:
          - nextcloud_network
  nextcloud_app:
      image: nextcloud:apache
      restart: unless-stopped
      volumes:
          - nextcloud:/var/www/html
      environment:
          - POSTGRES_DB=nextcloud_postgres_db
          - POSTGRES_USER=nextcloud_postgres_db_admin
          - POSTGRES_PASSWORD=/run/secrets/postgres_db_password
          - POSTGRES_HOST=nextcloud_postgres
      depends_on:
          - nextcloud_postgres
      networks:
          - nextcloud_network
      container_name: nextcloud_app

But that proved problematic as my attempts to access the.fqdn.com kept redirecting me to https://the.fqdn.com:80/apps/dashboard/

But I knew my instance was accessible cause if I manually went to the address https://the.fqdn.com/apps/dashboard/, it loaded correctly, so I knew it was up

So, I commented out proxy_redirect http:// https://; which caused the redirect to work and that made sense to me also since cloudflare was handling all the SSL related stuff and there was no point for inter docker communication on my own network to be encrypted.

But then, when I tried to setup the GitHub - nextcloud/android: 📱 Nextcloud Android app on my grapheneOS phone, I got the error Android app error: “Strict mode, no HTTP connection allowed!” which lead me to Android app error: "Strict mode, no HTTP connection allowed!" so I implemented the suggestion of ‘overwriteprotocol’ => ‘https’ and while that got rid of that specific error, all that happens now is I just get stuck on the login screen with the app continously logging in.

The output of your Nextcloud log in Admin > Logging:

{"reqId":"cqcOxUhrjnEGjo006N0P","level":2,"time":"2022-09-10T11:30:34+00:00","remoteAddr":"172.19.0.3","user":"--","app":"no app in context","method":"GET","url":"/","message":"Could not detect any host in http:///data/htaccesstest.txt","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0","version":"","data":[]}
{"reqId":"cqcOxUhrjnEGjo006N0P","level":2,"time":"2022-09-10T11:30:34+00:00","remoteAddr":"172.19.0.3","user":"--","app":"no app in context","method":"GET","url":"/","message":"Could not detect any host in https:///data/htaccesstest.txt","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0","version":"","data":[]}
{"reqId":"MjZF0o18HacL0KWsXUYg","level":2,"time":"2022-09-10T11:30:39+00:00","remoteAddr":"172.19.0.3","user":"--","app":"no app in context","method":"POST","url":"/index.php","message":"Could not detect any host in http:///data/htaccesstest.txt","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0","version":"","data":[]}
{"reqId":"MjZF0o18HacL0KWsXUYg","level":2,"time":"2022-09-10T11:30:39+00:00","remoteAddr":"172.19.0.3","user":"--","app":"no app in context","method":"POST","url":"/index.php","message":"Could not detect any host in https:///data/htaccesstest.txt","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0","version":"","data":[]}

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):

<?php
$CONFIG = array (
  'htaccess.RewriteBase' => '/',
  'memcache.local' => '\\OC\\Memcache\\APCu',
  'apps_paths' => 
  array (
    0 => 
    array (
      'path' => '/var/www/html/apps',
      'url' => '/apps',
      'writable' => false,
    ),
    1 => 
    array (
      'path' => '/var/www/html/custom_apps',
      'url' => '/custom_apps',
      'writable' => true,
    ),
  ),
  'instanceid' => 'oc38rusjj9t2',
  'passwordsalt' => '*************',
  'secret' => '************',
  'trusted_domains' => 
  array (
    0 => 'the.fqdn.com:80',
  ),
  'datadirectory' => '/var/www/html/data',
  'dbtype' => 'pgsql',
  'version' => '24.0.5.1',
  'overwrite.cli.url' => 'http://the.fqdn.com:80',
  'dbname' => 'nextcloud_postgres_db',
  'dbhost' => 'nextcloud_postgres',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'dbuser' => 'oc_nextcloud_admin',
  'dbpassword' => '**************',
  'installed' => true,
);

The output of your Apache/nginx/system log in /var/log/____:

Initializing nextcloud 24.0.5.1 ...
New nextcloud instance
Initializing finished
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 172.19.0.4. Set the 'ServerName' directive globally to suppress this message
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 172.19.0.4. Set the 'ServerName' directive globally to suppress this message
[Sat Sep 10 11:30:33.872030 2022] [mpm_prefork:notice] [pid 1] AH00163: Apache/2.4.54 (Debian) PHP/8.0.23 configured -- resuming normal operations
[Sat Sep 10 11:30:33.872087 2022] [core:notice] [pid 1] AH00094: Command line: 'apache2 -D FOREGROUND'
172.19.0.3 - - [10/Sep/2022:11:30:33 +0000] "GET / HTTP/1.1" 200 2682 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
172.19.0.3 - - [10/Sep/2022:11:30:39 +0000] "POST /index.php HTTP/1.1" 302 1101 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
172.19.0.3 - - [10/Sep/2022:11:32:19 +0000] "GET /dist/core-install.js.map?v=ee580b4e58a4177adf85 HTTP/1.1" 200 9590 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
172.19.0.3 - - [10/Sep/2022:11:32:19 +0000] "GET /dist/core-main.js.map?v=0a05117109bf8b6240ea HTTP/1.1" 200 106939 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
172.19.0.3 - - [10/Sep/2022:11:32:19 +0000] "GET /dist/core-common.js.map?v=2cac8f913fc5d6478fef HTTP/1.1" 200 4471280 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
172.19.0.3 - - [10/Sep/2022:11:32:33 +0000] "GET / HTTP/1.1" 302 903 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
172.19.0.3 - - [10/Sep/2022:11:32:39 +0000] "PUT /apps/user_status/heartbeat HTTP/1.1" 412 801 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
172.19.0.3 - - [10/Sep/2022:11:32:44 +0000] "GET /ocs/v2.php/apps/notifications/api/v2/notifications HTTP/1.1" 200 933 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
172.19.0.3 - - [10/Sep/2022:11:32:59 +0000] "PUT /apps/user_status/heartbeat HTTP/1.1" 412 801 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
172.19.0.3 - - [10/Sep/2022:11:33:15 +0000] "GET /ocs/v2.php/apps/notifications/api/v2/notifications HTTP/1.1" 200 933 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
172.19.0.3 - - [10/Sep/2022:11:33:45 +0000] "GET /ocs/v2.php/apps/notifications/api/v2/notifications HTTP/1.1" 200 933 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
172.19.0.3 - - [10/Sep/2022:11:34:10 +0000] "GET / HTTP/1.1" 302 903 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
172.19.0.3 - - [10/Sep/2022:11:34:15 +0000] "GET /ocs/v2.php/apps/notifications/api/v2/notifications HTTP/1.1" 200 933 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
172.19.0.3 - - [10/Sep/2022:11:34:23 +0000] "GET / HTTP/1.1" 302 903 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
172.19.0.3 - - [10/Sep/2022:11:34:45 +0000] "GET /ocs/v2.php/apps/notifications/api/v2/notifications HTTP/1.1" 200 933 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
172.19.0.3 - - [10/Sep/2022:11:35:15 +0000] "GET /ocs/v2.php/apps/notifications/api/v2/notifications HTTP/1.1" 200 933 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
172.19.0.3 - - [10/Sep/2022:11:35:45 +0000] "GET /ocs/v2.php/apps/notifications/api/v2/notifications HTTP/1.1" 200 933 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
172.19.0.3 - - [10/Sep/2022:11:35:46 +0000] "GET /apps/dashboard/ HTTP/1.1" 200 10861 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
172.19.0.3 - - [10/Sep/2022:11:35:55 +0000] "GET /css/icons/icons-vars.css?v=1662809750 HTTP/1.1" 200 28865 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
172.19.0.3 - - [10/Sep/2022:11:35:57 +0000] "GET /ocs/v2.php/search/providers?from=%2Fapps%2Fdashboard%2F HTTP/1.1" 200 1024 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
172.19.0.3 - - [10/Sep/2022:11:35:57 +0000] "GET /dist/files-sidebar.js.map?v=88d01bb2e9709b1afe87 HTTP/1.1" 200 18451 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
172.19.0.3 - - [10/Sep/2022:11:35:57 +0000] "GET /dist/files_sharing-files_sharing_tab.js.map?v=73770868499f5917e720 HTTP/1.1" 200 61735 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
172.19.0.3 - - [10/Sep/2022:11:35:57 +0000] "GET /dist/comments-comments-app.js.map?v=0be9b9767b6789cfb476 HTTP/1.1" 200 21707 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
172.19.0.3 - - [10/Sep/2022:11:35:57 +0000] "GET /dist/core-main.js.map?v=0a05117109bf8b6240ea HTTP/1.1" 200 106939 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
172.19.0.3 - - [10/Sep/2022:11:35:57 +0000] "GET /apps/recommendations/api/recommendations/always HTTP/1.1" 200 1151 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
172.19.0.3 - - [10/Sep/2022:11:35:57 +0000] "GET /ocs/v2.php/apps/notifications/api/v2/notifications HTTP/1.1" 200 1403 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
172.19.0.3 - - [10/Sep/2022:11:35:57 +0000] "PUT /apps/user_status/heartbeat HTTP/1.1" 200 897 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
172.19.0.3 - - [10/Sep/2022:11:35:58 +0000] "GET /ocs/v2.php/apps/weather_status/api/v1/location HTTP/1.1" 200 880 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
172.19.0.3 - - [10/Sep/2022:11:35:57 +0000] "GET /apps/recommendations/js/dashboard.js.map HTTP/1.1" 200 570037 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
172.19.0.3 - - [10/Sep/2022:11:35:57 +0000] "GET /apps/activity/js/activity-dashboard.js.map?v=e10a3e9b4e852d5edf38 HTTP/1.1" 200 795428 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
172.19.0.3 - - [10/Sep/2022:11:35:58 +0000] "PUT /apps/user_status/heartbeat HTTP/1.1" 200 897 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
172.19.0.3 - - [10/Sep/2022:11:35:58 +0000] "GET /apps/firstrunwizard/wizard HTTP/1.1" 200 2738 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
172.19.0.3 - - [10/Sep/2022:11:35:57 +0000] "GET /apps/activity/js/activity-sidebar.js.map?v=5c999355a7c2c8f23ea4 HTTP/1.1" 200 925430 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
172.19.0.3 - - [10/Sep/2022:11:35:57 +0000] "GET /apps/notifications/js/notifications-main.js.map?v=43adb13c44eb43caff1c HTTP/1.1" 200 1037171 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
172.19.0.3 - - [10/Sep/2022:11:35:58 +0000] "GET /ocs/v2.php/apps/weather_status/api/v1/favorites HTTP/1.1" 200 858 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
172.19.0.3 - - [10/Sep/2022:11:35:57 +0000] "GET /apps/viewer/js/viewer-main.js.map?v=7be8b0626a465b0f1c87 HTTP/1.1" 200 1007202 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
172.19.0.3 - - [10/Sep/2022:11:35:58 +0000] "GET /apps/firstrunwizard/js/firstrunwizard-main.js.map?v=8b94bf63be3864a1f223 HTTP/1.1" 200 466025 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
172.19.0.3 - - [10/Sep/2022:11:35:58 +0000] "GET /cron.php HTTP/1.1" 200 867 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
172.19.0.3 - - [10/Sep/2022:11:35:57 +0000] "GET /dist/core-common.js.map?v=2cac8f913fc5d6478fef HTTP/1.1" 200 4471280 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
172.19.0.3 - - [10/Sep/2022:11:35:58 +0000] "GET /core/preview?fileId=33&x=250&y=250 HTTP/1.1" 200 5729 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
172.19.0.3 - - [10/Sep/2022:11:36:28 +0000] "GET /ocs/v2.php/apps/notifications/api/v2/notifications HTTP/1.1" 200 1403 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
172.19.0.3 - - [10/Sep/2022:11:36:59 +0000] "GET /ocs/v2.php/apps/notifications/api/v2/notifications HTTP/1.1" 200 1403 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
172.19.0.3 - - [10/Sep/2022:11:37:29 +0000] "GET /ocs/v2.php/apps/notifications/api/v2/notifications HTTP/1.1" 200 1403 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
172.19.0.3 - - [10/Sep/2022:11:37:35 +0000] "GET /csrftoken HTTP/1.1" 200 900 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
172.19.0.3 - - [10/Sep/2022:11:37:39 +0000] "PUT /apps/user_status/heartbeat HTTP/1.1" 200 897 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
172.19.0.3 - - [10/Sep/2022:11:38:00 +0000] "GET /ocs/v2.php/apps/notifications/api/v2/notifications HTTP/1.1" 200 1403 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
172.19.0.3 - - [10/Sep/2022:11:38:30 +0000] "GET /ocs/v2.php/apps/notifications/api/v2/notifications HTTP/1.1" 200 1403 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
172.19.0.3 - - [10/Sep/2022:11:39:01 +0000] "GET /ocs/v2.php/apps/notifications/api/v2/notifications HTTP/1.1" 200 1403 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
172.19.0.3 - - [10/Sep/2022:11:39:31 +0000] "GET /ocs/v2.php/apps/notifications/api/v2/notifications HTTP/1.1" 200 1403 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
172.19.0.3 - - [10/Sep/2022:11:39:52 +0000] "GET / HTTP/1.1" 302 903 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
172.19.0.3 - - [10/Sep/2022:11:40:02 +0000] "GET /ocs/v2.php/apps/notifications/api/v2/notifications HTTP/1.1" 200 1403 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
172.19.0.3 - - [10/Sep/2022:11:40:32 +0000] "GET /ocs/v2.php/apps/notifications/api/v2/notifications HTTP/1.1" 200 1403 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
172.19.0.3 - - [10/Sep/2022:11:40:55 +0000] "GET / HTTP/1.1" 302 903 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
172.19.0.3 - - [10/Sep/2022:11:40:56 +0000] "GET /apps/dashboard/ HTTP/1.1" 200 10876 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
172.19.0.3 - - [10/Sep/2022:11:40:56 +0000] "GET /css/icons/icons-vars.css?v=1662809753 HTTP/1.1" 200 28865 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
172.19.0.3 - - [10/Sep/2022:11:40:57 +0000] "GET /ocs/v2.php/search/providers?from=%2Fapps%2Fdashboard%2F HTTP/1.1" 200 1024 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
172.19.0.3 - - [10/Sep/2022:11:40:57 +0000] "GET /apps/recommendations/api/recommendations/always HTTP/1.1" 200 1151 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
172.19.0.3 - - [10/Sep/2022:11:40:57 +0000] "PUT /apps/user_status/heartbeat HTTP/1.1" 200 897 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
172.19.0.3 - - [10/Sep/2022:11:40:57 +0000] "GET /ocs/v2.php/apps/notifications/api/v2/notifications HTTP/1.1" 200 1403 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
172.19.0.3 - - [10/Sep/2022:11:40:57 +0000] "GET /ocs/v2.php/apps/weather_status/api/v1/location HTTP/1.1" 200 880 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
172.19.0.3 - - [10/Sep/2022:11:40:57 +0000] "PUT /apps/user_status/heartbeat HTTP/1.1" 200 897 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
172.19.0.3 - - [10/Sep/2022:11:40:57 +0000] "GET /apps/firstrunwizard/wizard HTTP/1.1" 200 2738 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
172.19.0.3 - - [10/Sep/2022:11:40:58 +0000] "GET /ocs/v2.php/apps/weather_status/api/v1/favorites HTTP/1.1" 200 858 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
172.19.0.3 - - [10/Sep/2022:11:40:58 +0000] "PUT /apps/user_status/heartbeat HTTP/1.1" 200 897 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
172.19.0.3 - - [10/Sep/2022:11:40:58 +0000] "PUT /apps/user_status/heartbeat HTTP/1.1" 200 897 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
172.19.0.3 - - [10/Sep/2022:11:40:57 +0000] "GET /cron.php HTTP/1.1" 200 867 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
172.19.0.3 - - [10/Sep/2022:11:41:00 +0000] "DELETE /apps/firstrunwizard/wizard HTTP/1.1" 200 799 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
172.19.0.3 - - [10/Sep/2022:11:41:19 +0000] "PUT /apps/user_status/heartbeat HTTP/1.1" 200 897 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
172.19.0.3 - - [10/Sep/2022:11:41:28 +0000] "GET /ocs/v2.php/apps/notifications/api/v2/notifications HTTP/1.1" 200 1403 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
172.19.0.3 - - [10/Sep/2022:11:41:54 +0000] "GET / HTTP/1.1" 302 903 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
172.19.0.3 - - [10/Sep/2022:11:41:54 +0000] "GET /apps/dashboard/ HTTP/1.1" 200 10871 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
172.19.0.3 - - [10/Sep/2022:11:41:55 +0000] "GET /ocs/v2.php/search/providers?from=%2Fapps%2Fdashboard%2F HTTP/1.1" 200 1024 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
172.19.0.3 - - [10/Sep/2022:11:41:55 +0000] "GET /apps/recommendations/api/recommendations/always HTTP/1.1" 200 1151 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
172.19.0.3 - - [10/Sep/2022:11:41:56 +0000] "PUT /apps/user_status/heartbeat HTTP/1.1" 200 897 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
172.19.0.3 - - [10/Sep/2022:11:41:56 +0000] "GET /ocs/v2.php/apps/notifications/api/v2/notifications HTTP/1.1" 200 1403 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
172.19.0.3 - - [10/Sep/2022:11:41:56 +0000] "PUT /apps/user_status/heartbeat HTTP/1.1" 200 897 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
172.19.0.3 - - [10/Sep/2022:11:41:56 +0000] "GET /ocs/v2.php/apps/weather_status/api/v1/location HTTP/1.1" 200 880 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
172.19.0.3 - - [10/Sep/2022:11:41:56 +0000] "GET /ocs/v2.php/apps/weather_status/api/v1/favorites HTTP/1.1" 200 858 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
172.19.0.3 - - [10/Sep/2022:11:41:56 +0000] "GET /cron.php HTTP/1.1" 200 867 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
172.19.0.3 - - [10/Sep/2022:11:42:32 +0000] "GET /ocs/v2.php/apps/notifications/api/v2/notifications HTTP/1.1" 200 1403 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
172.19.0.3 - - [10/Sep/2022:11:42:39 +0000] "PUT /apps/user_status/heartbeat HTTP/1.1" 200 897 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
172.19.0.3 - - [10/Sep/2022:11:43:02 +0000] "GET /ocs/v2.php/apps/notifications/api/v2/notifications HTTP/1.1" 200 1403 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
172.19.0.3 - - [10/Sep/2022:11:43:32 +0000] "GET /ocs/v2.php/apps/notifications/api/v2/notifications HTTP/1.1" 200 1403 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
172.19.0.3 - - [10/Sep/2022:11:44:03 +0000] "GET /ocs/v2.php/apps/notifications/api/v2/notifications HTTP/1.1" 200 1403 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
172.19.0.3 - - [10/Sep/2022:11:44:34 +0000] "GET /ocs/v2.php/apps/notifications/api/v2/notifications HTTP/1.1" 200 1403 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
172.19.0.3 - - [10/Sep/2022:11:45:04 +0000] "GET /ocs/v2.php/apps/notifications/api/v2/notifications HTTP/1.1" 200 1403 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
172.19.0.3 - - [10/Sep/2022:11:45:34 +0000] "GET /ocs/v2.php/apps/notifications/api/v2/notifications HTTP/1.1" 200 1403 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
172.19.0.3 - - [10/Sep/2022:11:45:58 +0000] "PUT /apps/user_status/heartbeat HTTP/1.1" 200 897 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
172.19.0.3 - - [10/Sep/2022:11:45:58 +0000] "PUT /apps/user_status/heartbeat HTTP/1.1" 200 897 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
172.19.0.3 - - [10/Sep/2022:11:45:58 +0000] "PUT /apps/user_status/heartbeat HTTP/1.1" 200 897 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
172.19.0.3 - - [10/Sep/2022:11:45:59 +0000] "PUT /apps/user_status/heartbeat HTTP/1.1" 200 897 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
172.19.0.3 - - [10/Sep/2022:11:46:04 +0000] "GET /ocs/v2.php/apps/notifications/api/v2/notifications HTTP/1.1" 200 1403 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
172.19.0.3 - - [10/Sep/2022:11:46:35 +0000] "GET /ocs/v2.php/apps/notifications/api/v2/notifications HTTP/1.1" 200 1403 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
172.19.0.3 - - [10/Sep/2022:11:47:05 +0000] "GET /ocs/v2.php/apps/notifications/api/v2/notifications HTTP/1.1" 200 1403 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
172.19.0.3 - - [10/Sep/2022:11:47:35 +0000] "GET /ocs/v2.php/apps/notifications/api/v2/notifications HTTP/1.1" 200 1403 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
172.19.0.3 - - [10/Sep/2022:11:47:40 +0000] "PUT /apps/user_status/heartbeat HTTP/1.1" 200 897 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
172.19.0.3 - - [10/Sep/2022:11:47:58 +0000] "GET /csrftoken HTTP/1.1" 200 900 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
172.19.0.3 - - [10/Sep/2022:11:48:05 +0000] "GET /ocs/v2.php/apps/notifications/api/v2/notifications HTTP/1.1" 200 1403 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
172.19.0.3 - - [10/Sep/2022:11:48:35 +0000] "GET /ocs/v2.php/apps/notifications/api/v2/notifications HTTP/1.1" 200 1403 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
172.19.0.3 - - [10/Sep/2022:11:48:53 +0000] "GET /csrftoken HTTP/1.1" 200 1174 "-" "Google Pixel 4 (Android)"
172.19.0.3 - - [10/Sep/2022:11:49:05 +0000] "GET /ocs/v2.php/apps/notifications/api/v2/notifications HTTP/1.1" 200 1403 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
172.19.0.3 - - [10/Sep/2022:11:49:20 +0000] "GET /status.php HTTP/1.1" 200 1646 "-" "Mozilla/5.0 (Android) Nextcloud-android/3.21.2"
172.19.0.3 - - [10/Sep/2022:11:49:20 +0000] "HEAD /remote.php/dav HTTP/1.1" 401 1192 "-" "Mozilla/5.0 (Android) Nextcloud-android/3.21.2"
172.19.0.3 - - [10/Sep/2022:11:49:21 +0000] "GET /ocs/v2.php/cloud/capabilities?format=json HTTP/1.1" 200 1827 "-" "Mozilla/5.0 (Android) Nextcloud-android/3.21.2"
172.19.0.3 - - [10/Sep/2022:11:49:22 +0000] "GET /index.php/login/flow HTTP/1.1" 200 6291 "-" "Google Pixel 4 (Android)"
172.19.0.3 - - [10/Sep/2022:11:49:22 +0000] "GET /core/css/login/authpicker.css?v=d27bfb70-0 HTTP/1.1" 200 694 "-" "Google Pixel 4 (Android)"
172.19.0.3 - - [10/Sep/2022:11:49:23 +0000] "GET /core/css/guest.css?v=d27bfb70-0 HTTP/1.1" 200 6144 "-" "Google Pixel 4 (Android)"
172.19.0.3 - - [10/Sep/2022:11:49:23 +0000] "GET /dist/core-files_client.js?v=d27bfb70-0 HTTP/1.1" 200 4839 "-" "Google Pixel 4 (Android)"
172.19.0.3 - - [10/Sep/2022:11:49:23 +0000] "GET /dist/core-files_fileinfo.js?v=d27bfb70-0 HTTP/1.1" 200 1064 "-" "Google Pixel 4 (Android)"
172.19.0.3 - - [10/Sep/2022:11:49:23 +0000] "GET /core/js/login/authpicker.js?v=d27bfb70-0 HTTP/1.1" 200 711 "-" "Google Pixel 4 (Android)"
172.19.0.3 - - [10/Sep/2022:11:49:23 +0000] "GET /apps/theming/js/theming.js?v=d27bfb70-0 HTTP/1.1" 200 549 "-" "Google Pixel 4 (Android)"
172.19.0.3 - - [10/Sep/2022:11:49:23 +0000] "GET /dist/files_sharing-main.js?v=d27bfb70-0 HTTP/1.1" 200 797 "-" "Google Pixel 4 (Android)"
172.19.0.3 - - [10/Sep/2022:11:49:23 +0000] "GET /dist/core-main.js?v=d27bfb70-0 HTTP/1.1" 200 48416 "-" "Google Pixel 4 (Android)"
172.19.0.3 - - [10/Sep/2022:11:49:23 +0000] "GET /core/js/backgroundjobs.js?v=d27bfb70-0 HTTP/1.1" 200 1151 "-" "Google Pixel 4 (Android)"
172.19.0.3 - - [10/Sep/2022:11:49:23 +0000] "GET /dist/accessibility-accessibilityoca.js?v=d27bfb70-0 HTTP/1.1" 200 1787 "-" "Google Pixel 4 (Android)"
172.19.0.3 - - [10/Sep/2022:11:49:23 +0000] "GET /apps/files_rightclick/js/script.js?v=d27bfb70-0 HTTP/1.1" 200 3764 "-" "Google Pixel 4 (Android)"
172.19.0.3 - - [10/Sep/2022:11:49:23 +0000] "GET /apps/files_rightclick/js/files.js?v=d27bfb70-0 HTTP/1.1" 200 1815 "-" "Google Pixel 4 (Android)"
172.19.0.3 - - [10/Sep/2022:11:49:23 +0000] "GET /core/js/oc.js?v=d27bfb70 HTTP/1.1" 200 2246 "-" "Google Pixel 4 (Android)"
172.19.0.3 - - [10/Sep/2022:11:49:23 +0000] "GET /js/core/merged-template-prepend.js?v=d27bfb70-0 HTTP/1.1" 200 3978 "-" "Google Pixel 4 (Android)"
172.19.0.3 - - [10/Sep/2022:11:49:23 +0000] "GET /dist/core-common.js?v=d27bfb70-0 HTTP/1.1" 200 2111945 "-" "Google Pixel 4 (Android)"
172.19.0.3 - - [10/Sep/2022:11:49:25 +0000] "PUT /apps/user_status/heartbeat HTTP/1.1" 200 897 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
172.19.0.3 - - [10/Sep/2022:11:49:25 +0000] "PUT /apps/user_status/heartbeat HTTP/1.1" 200 897 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
172.19.0.3 - - [10/Sep/2022:11:49:24 +0000] "GET /cron.php HTTP/1.1" 200 867 "-" "Google Pixel 4 (Android)"
172.19.0.3 - - [10/Sep/2022:11:49:26 +0000] "DELETE /apps/firstrunwizard/wizard HTTP/1.1" 200 799 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
172.19.0.3 - - [10/Sep/2022:11:49:32 +0000] "GET /login/flow/grant?clientIdentifier=&user=&direct=0&stateToken=taRAWjxYegVjS8SmioRbuHY3pFS56dHCloyYgra2mKzqL4yhNDOKnNFDXZ3vb2Vf HTTP/1.1" 303 924 "-" "Google Pixel 4 (Android)"
172.19.0.3 - - [10/Sep/2022:11:49:32 +0000] "GET /login?redirect_url=/login/flow/grant?clientIdentifier%3D%26user%3D%26direct%3D0%26stateToken%3DtaRAWjxYegVjS8SmioRbuHY3pFS56dHCloyYgra2mKzqL4yhNDOKnNFDXZ3vb2Vf HTTP/1.1" 200 5343 "-" "Google Pixel 4 (Android)"
172.19.0.3 - - [10/Sep/2022:11:49:33 +0000] "GET /dist/core-login.js?v=d27bfb70-0 HTTP/1.1" 200 31672 "-" "Google Pixel 4 (Android)"
172.19.0.3 - - [10/Sep/2022:11:49:33 +0000] "GET /core/js/oc.js?v=d27bfb70 HTTP/1.1" 200 2246 "-" "Google Pixel 4 (Android)"
172.19.0.3 - - [10/Sep/2022:11:49:34 +0000] "GET /cron.php HTTP/1.1" 200 867 "-" "Google Pixel 4 (Android)"
172.19.0.3 - - [10/Sep/2022:11:49:35 +0000] "GET /csrftoken HTTP/1.1" 200 900 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
172.19.0.3 - - [10/Sep/2022:11:49:35 +0000] "GET /ocs/v2.php/apps/notifications/api/v2/notifications HTTP/1.1" 200 1403 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
172.19.0.3 - - [10/Sep/2022:11:50:05 +0000] "GET /ocs/v2.php/apps/notifications/api/v2/notifications HTTP/1.1" 200 1403 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
172.19.0.3 - - [10/Sep/2022:11:50:14 +0000] "GET / HTTP/1.1" 302 1504 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36 Edge/16.16299"
172.19.0.3 - - [10/Sep/2022:11:50:14 +0000] "GET /login HTTP/1.1" 200 5599 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36 Edge/16.16299"
172.19.0.3 - - [10/Sep/2022:11:50:15 +0000] "GET / HTTP/1.1" 302 1498 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36 Edge/16.16299"
172.19.0.3 - - [10/Sep/2022:11:50:15 +0000] "GET /login HTTP/1.1" 200 5588 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36 Edge/16.16299"
172.19.0.3 - - [10/Sep/2022:11:50:25 +0000] "POST /login HTTP/1.1" 303 1317 "-" "Google Pixel 4 (Android)"
172.19.0.3 - - [10/Sep/2022:11:50:33 +0000] "PUT /apps/user_status/heartbeat HTTP/1.1" 200 897 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
172.19.0.3 - - [10/Sep/2022:11:50:36 +0000] "GET /ocs/v2.php/apps/notifications/api/v2/notifications HTTP/1.1" 200 1403 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
172.19.0.3 - - [10/Sep/2022:11:50:59 +0000] "PUT /apps/user_status/heartbeat HTTP/1.1" 200 897 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
172.19.0.3 - - [10/Sep/2022:11:50:59 +0000] "PUT /apps/user_status/heartbeat HTTP/1.1" 200 901 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
172.19.0.3 - - [10/Sep/2022:11:51:00 +0000] "PUT /apps/user_status/heartbeat HTTP/1.1" 200 901 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
172.19.0.3 - - [10/Sep/2022:11:51:00 +0000] "PUT /apps/user_status/heartbeat HTTP/1.1" 200 897 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
172.19.0.3 - - [10/Sep/2022:11:51:06 +0000] "GET /ocs/v2.php/apps/notifications/api/v2/notifications HTTP/1.1" 200 1403 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
172.19.0.3 - - [10/Sep/2022:11:51:36 +0000] "GET /ocs/v2.php/apps/notifications/api/v2/notifications HTTP/1.1" 200 1403 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
172.19.0.3 - - [10/Sep/2022:11:52:06 +0000] "GET /ocs/v2.php/apps/notifications/api/v2/notifications HTTP/1.1" 200 1403 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
172.19.0.3 - - [10/Sep/2022:11:52:37 +0000] "GET /ocs/v2.php/apps/notifications/api/v2/notifications HTTP/1.1" 200 1403 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
172.19.0.3 - - [10/Sep/2022:11:52:40 +0000] "PUT /apps/user_status/heartbeat HTTP/1.1" 200 897 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
172.19.0.3 - - [10/Sep/2022:11:52:58 +0000] "GET /csrftoken HTTP/1.1" 200 899 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
172.19.0.3 - - [10/Sep/2022:11:53:07 +0000] "GET /ocs/v2.php/apps/notifications/api/v2/notifications HTTP/1.1" 200 1403 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
172.19.0.3 - - [10/Sep/2022:11:53:37 +0000] "GET /ocs/v2.php/apps/notifications/api/v2/notifications HTTP/1.1" 200 1403 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
172.19.0.3 - - [10/Sep/2022:11:54:07 +0000] "GET /ocs/v2.php/apps/notifications/api/v2/notifications HTTP/1.1" 200 1404 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
172.19.0.3 - - [10/Sep/2022:11:54:13 +0000] "GET /status.php HTTP/1.1" 200 1696 "-" "Mozilla/5.0 (Android) Nextcloud-android/3.21.2"
172.19.0.3 - - [10/Sep/2022:11:54:14 +0000] "HEAD /remote.php/dav HTTP/1.1" 401 1250 "-" "Mozilla/5.0 (Android) Nextcloud-android/3.21.2"
172.19.0.3 - - [10/Sep/2022:11:54:14 +0000] "GET /ocs/v2.php/cloud/capabilities?format=json HTTP/1.1" 200 1887 "-" "Mozilla/5.0 (Android) Nextcloud-android/3.21.2"
172.19.0.3 - - [10/Sep/2022:11:54:15 +0000] "GET /index.php/login/flow HTTP/1.1" 200 6389 "-" "Google Pixel 4 (Android)"
172.19.0.3 - - [10/Sep/2022:11:54:15 +0000] "GET /core/js/oc.js?v=d27bfb70 HTTP/1.1" 200 2245 "-" "Google Pixel 4 (Android)"
172.19.0.3 - - [10/Sep/2022:11:54:16 +0000] "GET /cron.php HTTP/1.1" 200 867 "-" "Google Pixel 4 (Android)"
172.19.0.3 - - [10/Sep/2022:11:54:19 +0000] "GET /login/flow/grant?clientIdentifier=&user=&direct=0&stateToken=F9btpTCLWCtLAHA35QXFivwcRle4tpdTcaD2znSNwdKAofwlEwzXOEEFsJF98yWj HTTP/1.1" 303 924 "-" "Google Pixel 4 (Android)"
172.19.0.3 - - [10/Sep/2022:11:54:19 +0000] "GET /login?redirect_url=/login/flow/grant?clientIdentifier%3D%26user%3D%26direct%3D0%26stateToken%3DF9btpTCLWCtLAHA35QXFivwcRle4tpdTcaD2znSNwdKAofwlEwzXOEEFsJF98yWj HTTP/1.1" 200 5383 "-" "Google Pixel 4 (Android)"
172.19.0.3 - - [10/Sep/2022:11:54:20 +0000] "GET /core/js/oc.js?v=d27bfb70 HTTP/1.1" 200 2245 "-" "Google Pixel 4 (Android)"
172.19.0.3 - - [10/Sep/2022:11:54:20 +0000] "GET /cron.php HTTP/1.1" 200 867 "-" "Google Pixel 4 (Android)"
172.19.0.3 - - [10/Sep/2022:11:54:37 +0000] "GET /ocs/v2.php/apps/notifications/api/v2/notifications HTTP/1.1" 200 1404 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
172.19.0.3 - - [10/Sep/2022:11:54:42 +0000] "POST /login HTTP/1.1" 303 1350 "-" "Google Pixel 4 (Android)"
172.19.0.3 - - [10/Sep/2022:11:55:07 +0000] "GET /ocs/v2.php/apps/notifications/api/v2/notifications HTTP/1.1" 200 1404 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
172.19.0.3 - - [10/Sep/2022:11:55:37 +0000] "GET /ocs/v2.php/apps/notifications/api/v2/notifications HTTP/1.1" 200 1404 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
172.19.0.3 - - [10/Sep/2022:11:55:59 +0000] "PUT /apps/user_status/heartbeat HTTP/1.1" 200 897 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
172.19.0.3 - - [10/Sep/2022:11:55:59 +0000] "PUT /apps/user_status/heartbeat HTTP/1.1" 200 897 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
172.19.0.3 - - [10/Sep/2022:11:56:00 +0000] "PUT /apps/user_status/heartbeat HTTP/1.1" 200 897 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
172.19.0.3 - - [10/Sep/2022:11:56:00 +0000] "PUT /apps/user_status/heartbeat HTTP/1.1" 200 897 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
172.19.0.3 - - [10/Sep/2022:11:56:07 +0000] "GET /ocs/v2.php/apps/notifications/api/v2/notifications HTTP/1.1" 200 1404 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
172.19.0.3 - - [10/Sep/2022:11:56:09 +0000] "PUT /apps/user_status/heartbeat HTTP/1.1" 200 897 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
172.19.0.3 - - [10/Sep/2022:11:56:09 +0000] "PUT /apps/user_status/heartbeat HTTP/1.1" 200 897 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
172.19.0.3 - - [10/Sep/2022:11:56:15 +0000] "GET /settings/user HTTP/1.1" 200 21644 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
172.19.0.3 - - [10/Sep/2022:11:56:20 +0000] "GET /css/text/8931-3133-icons.css?v=b92d206521717ac032f8aa58d3c7ff2f-89312d34-0 HTTP/1.1" 200 1748 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
172.19.0.3 - - [10/Sep/2022:11:56:20 +0000] "GET /css/core/7fcc-3133-server.css?v=b92d206521717ac032f8aa58d3c7ff2f-d27bfb70-0 HTTP/1.1" 200 20774 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
172.19.0.3 - - [10/Sep/2022:11:56:20 +0000] "GET /css/user_status/1bf6-3133-user-status-menu.css?v=b92d206521717ac032f8aa58d3c7ff2f-1bf6e69c-0 HTTP/1.1" 200 1159 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
172.19.0.3 - - [10/Sep/2022:11:56:20 +0000] "GET /css/notifications/ae3e-3133-styles.css?v=b92d206521717ac032f8aa58d3c7ff2f-ae3ee1dc-0 HTTP/1.1" 200 2094 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
172.19.0.3 - - [10/Sep/2022:11:56:20 +0000] "GET /css/core/7fcc-3133-css-variables.css?v=b92d206521717ac032f8aa58d3c7ff2f-d27bfb70-0 HTTP/1.1" 200 1616 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
172.19.0.3 - - [10/Sep/2022:11:56:20 +0000] "GET /css/settings/ca9f-3133-settings.css?v=b92d206521717ac032f8aa58d3c7ff2f-ca9f0d77-0 HTTP/1.1" 200 7056 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
172.19.0.3 - - [10/Sep/2022:11:56:20 +0000] "GET /css/icons/icons-vars.css?v=1662810977 HTTP/1.1" 200 28971 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
172.19.0.3 - - [10/Sep/2022:11:56:22 +0000] "GET /ocs/v2.php/search/providers?from=%2Fsettings%2Fuser HTTP/1.1" 200 1021 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
172.19.0.3 - - [10/Sep/2022:11:56:22 +0000] "GET /ocs/v2.php/apps/user_status/api/v1/statuses/nextcloud_admin HTTP/1.1" 200 908 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
172.19.0.3 - - [10/Sep/2022:11:56:22 +0000] "GET /dist/core-main.js.map?v=0a05117109bf8b6240ea HTTP/1.1" 200 106939 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
172.19.0.3 - - [10/Sep/2022:11:56:22 +0000] "GET /ocs/v2.php/apps/notifications/api/v2/notifications HTTP/1.1" 200 1404 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
172.19.0.3 - - [10/Sep/2022:11:56:22 +0000] "PUT /apps/user_status/heartbeat HTTP/1.1" 200 897 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
172.19.0.3 - - [10/Sep/2022:11:56:22 +0000] "GET /apps/viewer/js/viewer-main.js.map?v=7be8b0626a465b0f1c87 HTTP/1.1" 200 1007202 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
172.19.0.3 - - [10/Sep/2022:11:56:22 +0000] "GET /apps/notifications/js/notifications-main.js.map?v=43adb13c44eb43caff1c HTTP/1.1" 200 1037171 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
172.19.0.3 - - [10/Sep/2022:11:56:22 +0000] "GET /cron.php HTTP/1.1" 200 867 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
172.19.0.3 - - [10/Sep/2022:11:56:22 +0000] "GET /dist/core-common.js.map?v=2cac8f913fc5d6478fef HTTP/1.1" 200 4471280 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
172.19.0.3 - - [10/Sep/2022:11:56:22 +0000] "GET /avatar/nextcloud_admin/145?v=0 HTTP/1.1" 200 6738 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
172.19.0.3 - - [10/Sep/2022:11:56:31 +0000] "PUT /apps/user_status/heartbeat HTTP/1.1" 200 897 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
172.19.0.3 - - [10/Sep/2022:11:56:43 +0000] "GET /settings/admin/logging HTTP/1.1" 200 9166 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
172.19.0.3 - - [10/Sep/2022:11:56:44 +0000] "GET /apps/logreader/js/logreader-main.css?v=0d6f7e6c-0 HTTP/1.1" 200 2486 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
172.19.0.3 - - [10/Sep/2022:11:56:44 +0000] "GET /css/icons/icons-vars.css?v=1662810979 HTTP/1.1" 200 28971 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
172.19.0.3 - - [10/Sep/2022:11:56:44 +0000] "GET /apps/logreader/js/logreader-main.js?v=d27bfb70-0 HTTP/1.1" 200 201844 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
172.19.0.3 - - [10/Sep/2022:11:56:44 +0000] "GET /ocs/v2.php/search/providers?from=%2Fsettings%2Fadmin%2Flogging HTTP/1.1" 200 1021 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
172.19.0.3 - - [10/Sep/2022:11:56:44 +0000] "GET /apps/logreader/settings HTTP/1.1" 200 885 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
172.19.0.3 - - [10/Sep/2022:11:56:44 +0000] "GET /ocs/v2.php/apps/notifications/api/v2/notifications HTTP/1.1" 200 1404 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
172.19.0.3 - - [10/Sep/2022:11:56:44 +0000] "PUT /apps/user_status/heartbeat HTTP/1.1" 200 897 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
172.19.0.3 - - [10/Sep/2022:11:56:45 +0000] "GET /apps/logreader/get?offset=0&count=50&levels=11111 HTTP/1.1" 200 1168 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
172.19.0.3 - - [10/Sep/2022:11:56:44 +0000] "GET /cron.php HTTP/1.1" 200 867 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
172.19.0.3 - - [10/Sep/2022:11:57:02 +0000] "GET /settings/admin/log/download HTTP/1.1" 200 2205 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
172.19.0.3 - - [10/Sep/2022:11:56:45 +0000] "GET /apps/logreader/poll?lastReqId=MjZF0o18HacL0KWsXUYg HTTP/1.1" 200 799 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
172.19.0.3 - - [10/Sep/2022:11:57:14 +0000] "GET /ocs/v2.php/apps/notifications/api/v2/notifications HTTP/1.1" 200 1404 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"

Hi

Two things.

First: i am too using for convenience a https redirect with my apache conf:

RewriteEngine on
RewriteCond %{SERVER_NAME} = whocares
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]

and this is perfectly working for me in the android app, using the following as link for logon
http://myserv
myserv
https://myserv

Second: seem’s your using an “unsupported” system as a synology…
I don’t think is NC related but synology related… might be an DSM app related
But as it is unsupported …

I don’t know what to tell you, just reporting what I see. I think the problem lies in the fact that CloudFlare tunnel is handling the SSL so technically I don’t have to but Nextcloud really doesn’t like that.

But the nextcloud docker container only exposes port 80 which I find confusing if it has to use https.

This is all on docker container, I’d be highly surprised if that is the issue since I also have an django app running on my local network that I can access from outside the network.

realized I could just remove nginx from the equation and direct the cloudflare tunnel directly at my nextcloud docker container and use this for the ssl config on cloudflare



1 Like

Great job…

And also good idea for the screen capture, it might help others…

I also run Nextcloud in docker through Cloudflare tunnel and I try to rid of the “Strict-Transport-Security” HTTP header is not set to at least “15552000” seconds warning. I have searched the web quite a lot, including help.nextcloud.com forums to find the answer how to turn the warning off and when I found this thread, I was hopeful that at last, I could fix the warning but unfortunately the solution you shared, didn’t work for me.
After I made the changes you showed on the screenshots I restarted the nextcloud container but the warning was there :cry:
Almost every solution I have found the user had nginx proxy in use and the fix was to modify virtual hosts file.
I am still quite a noob with NC and docker but I will gladly try to provide more information to solve this problem.

1 Like

Just to clarify, your setup works, you just have a warning about the Strict-Transport-Security header that you are trying to get rid of?

First of all, thank you for replying :slight_smile:
Yes, everything is working only the warning is bugging me.

I was finally able to get rid of the Strict-Transport-Security warning :slight_smile:
Here is what I did in case someone finds it useful.

But first, I don’t use nginx, I only have the Cloudflare tunnel and Apache that is coming with the Nextcloud. Both Cloudflare and Nextcloud are in containers.

  1. I started all over again.
  2. I deleted the Cloudflare tunnel and Nextcloud containers.
  3. I started to create a new tunnel in Cloudflare service but I only went to that point where I could get the token needed in Cloundflare tunnel stack creation in Portainer.
  4. First I created a stack for the Cloudflare tunnel in Portainer and when that was done and checked that everything was ok, I created a stack for the Nextcloud.
  5. After the Nextcloud stack creation was done and functionality of the containers was checked, I went back to the Cloudflare service to finish the tunnel creation.
  6. After the Nextcloud was up and running I had the Strict-Transport-Security warning in Security & setup warnings page again. In Portainer I opened the Exec Console, first installed nano editor and then I opened /etc/apache2/sites-available/000-default.conf file and added the lines below to the end of the file after the closing tag of VirtualHost section.

<IfModule mod_headers.c>
Header always set Strict-Transport-Security “max-age=15768000; includeSubDomains”
</IfModule>

Then I restarted the Apache service and when I refreshed the Security & setup warnings page, the warning was gone.

happy to hear you got it working but I need to note the fact that this was in no way related to my own post so your comments were essentially off-topic.

In the future, please create a post for your own question. That will ensure no off-topic posting and will help you get more visibility for your issue.

Can I know what does it mean it was quite confuse because I have same problems http restrict on android application.

you need to be more clearer on what you mean by “Can I know what does it mean”

http restrict on android application and i cannot use overwrite https if not my internal/private ip not working

  • You are accessing your instance over a secure connection, however your instance is generating insecure URLs. This most likely means that you are behind a reverse proxy and the overwrite config variables are not set correctly. Please read the documentation page about this :arrow_upper_right:.

I suggest creating a new post regarding your issue cause I don’t fully understand you so you are not getting much visibility posting here and I have a feeling your issue is not related to my issue.