

# Rule borrowed from `.htaccess` to handle Microsoft DAV clients Proxy_set_header User-Agent $http_user_agent Proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for Proxy_pass proxy_set_header Host $server_name Gzip_types application/atom+xml application/javascript application/json application/ld+json application/manifest+json application/rss+xml application/vnd.geo+json application/vnd.ms-fontobject application/x-font-ttf application/x-web-app-manifest+json application/xhtml+xml application/xml font/opentype image/bmp image/svg+xml image/x-icon text/cache-manifest text/css text/plain text/vcard text/ text/vtt text/x-component text/x-cross-domain-policy Īccess_log /var/log/nginx/cloud-access.log adv Įrror_log /var/log/nginx/cloud-error.log notice Gzip_proxied expired no-cache no-store private no_last_modified no_etag auth # Enable gzip but do not remove ETag headers Ssl_certificate_key /root/.acme.sh/cloud.domain/ Ssl_certificate /root/.acme.sh/cloud.domain/fullchain.cer "extra_params=-o:ssl.enable=false -o:ssl.termination=true" opt/portainer/nextcloud/data:/var/www/html/data opt/portainer/nextcloud/mariaconf:/etc/mysql/conf.dĬommand: redis-server -requirepass Secret The “Extra Hosts” Settings go to my Reverse Proxy at the moment.ġ0.0.0.41 is my Docker Server with Nextcloud and CollaboraĬommand: -transaction-isolation=READ-COMMITTED -binlog-format=ROW * Connection #0 to host cloud.domain left intact * Connection state changed (MAX_CONCURRENT_STREAMS updated)! * Connection state changed (MAX_CONCURRENT_STREAMS = 128)! * Using Stream ID: 1 (easy handle 0x55645fe7e2c0) * Copying HTTP/2 data in stream buffer to connection buffer after upgrade: len=0


* Connection state changed (HTTP/2 confirmed) * subjectAltName: host "office.domain" matched cert's "office.domain" * SSL connection using TLSv1.2 / ECDHE-RSA-AES256-GCM-SHA384 * TLSv1.2 (IN), TLS handshake, Finished (20): * TLSv1.2 (OUT), TLS handshake, Finished (20): * TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1): * TLSv1.2 (OUT), TLS handshake, Client key exchange (16): * TLSv1.2 (IN), TLS handshake, Server finished (14): * TLSv1.2 (IN), TLS handshake, Server key exchange (12): * TLSv1.2 (IN), TLS handshake, Certificate (11): * TLSv1.3 (IN), TLS handshake, Server hello (2): * TLSv1.3 (OUT), TLS handshake, Client hello (1): * CAfile: /etc/ssl/certs/ca-certificates.crt * successfully set certificate verify locations: Only with hostname i get nginx 301, its port 80.Ĭurl from Nextcloud app Container to Collabora Container: curl -v The Accesslog of office doesnt tell me more, the cloud access log is not useful.ģ01 Moved curl https in the console of nextcloud container i get a Ok. On the log of the office container i dont get any entries. The Setting in Nextcloud is “OK” but only nginx access log notice the “save” and Test. Okay, if i want to do it like the picture, i need to use the reverse proxy ip on the compose file, cause the containers are on another vm and only communicate in http. # proxy_set_header User-Agent $http_user_agent # proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for
#Qownnotes nextcloud docker how to install upgrade#
# proxy_set_header Upgrade $http_upgrade

Proxy_pass proxy_set_header Host $http_host Ssl_ciphers HIGH:!aNULL:!eNULL:!EXPORT:!CAMELLIA:!DES:!MD5:!PSK:!RC4 Īccess_log /var/log/nginx/office-access.log adv Įrror_log /var/log/nginx/office-error.log notice Ssl_certificate_key /root/.acme.sh/office.domain/ Ssl_certificate /root/.acme.sh/office.domain/fullchain.cer Container Nextcloud App Test: curl curl office.domainĬurl: (7) Failed to connect to office.domain port 80: Connection curl Ĭurl: (7) Failed to connect to office.domain port 443: Connection curl i change the office ip address in the stack config to my reverse proxy the Nextcloud Settings are fine, but open a document failed
