Zippi

Members
  • Posts

    54
  • Joined

  • Last visited

Converted

  • Gender
    Undisclosed

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Zippi's Achievements

Rookie

Rookie (2/14)

0

Reputation

  1. Hi everyone, i need your help I'm on NextCloud 21.0.3 and, of course, i've these messeges: this is my DEFAULT file: upstream php-handler { server 127.0.0.1:9000; } server { listen 80; listen [::]:80; server_name _; return 301 https://$host$request_uri; } server { listen 443 ssl http2; listen [::]:443 ssl http2; server_name _; ssl_certificate /config/keys/cert.crt; ssl_certificate_key /config/keys/cert.key; # Add headers to serve security related headers # Before enabling Strict-Transport-Security headers please read into this # topic first. add_header Strict-Transport-Security "max-age=15768000; includeSubDomains; preload;" always; # # WARNING: Only add the preload option once you read about # the consequences in https://hstspreload.org/. This option # will add the domain to a hardcoded list that is shipped # in all major browsers and getting removed from this list # could take several months. add_header X-Content-Type-Options nosniff; add_header X-XSS-Protection "1; mode=block"; add_header X-Robots-Tag none; add_header X-Download-Options noopen; add_header X-Frame-Options "SAMEORIGIN"; add_header X-Permitted-Cross-Domain-Policies none; add_header Referrer-Policy no-referrer; fastcgi_hide_header X-Powered-By; root /config/www/nextcloud/; # display real ip in nginx logs when connected through reverse proxy via docker network set_real_ip_from 172.0.0.0/8; real_ip_header X-Forwarded-For; location = /robots.txt { allow all; log_not_found off; access_log off; } location = /.well-known/carddav { return 301 $scheme://$host:444/remote.php/dav; } location = /.well-known/caldav { return 301 $scheme://$host:444/remote.php/dav; } location = /.well-known/webfinger { return 301 $scheme://$host:444/public.php?service=webfinger; } location = /.well-known/host-meta { return 301 $scheme://$host:444/public.php?service=host-meta; } location = /.well-known/host-meta.json { return 301 $scheme://$host:444/public.php?service=host-meta-json; } client_max_body_size 10G; fastcgi_buffers 64 4K; gzip on; gzip_vary on; gzip_comp_level 4; gzip_min_length 256; gzip_proxied expired no-cache no-store private no_last_modified no_etag auth; 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/vnd.rim.location.xloc text/vtt text/x-component text/x-cross-domain-policy; location / { rewrite ^ /index.php; } location ~ ^\/(?:build|tests|config|lib|3rdparty|templates|data)\/ { deny all; } location ~ ^\/(?:\.|autotest|occ|issue|indie|db_|console) { deny all; } location ~ ^\/(?:index|remote|public|cron|core\/ajax\/update|status|ocs\/v[12]|updater\/.+|oc[ms]-provider\/.+|.+\/richdocumentscode\/proxy)\.php(?:$|\/) { fastcgi_split_path_info ^(.+?\.php)(\/.*|)$; set $path_info $fastcgi_path_info; try_files $fastcgi_script_name =404; include /etc/nginx/fastcgi_params; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; fastcgi_param PATH_INFO $path_info; fastcgi_param HTTPS on; fastcgi_param modHeadersAvailable true; fastcgi_param front_controller_active true; fastcgi_pass php-handler; fastcgi_intercept_errors on; fastcgi_request_buffering off; } location ~ ^\/(?:updater|oc[ms]-provider)(?:$|\/) { try_files $uri/ =404; index index.php; } location ~ \.(?:css|js|woff2?|svg|gif|map)$ { try_files $uri /index.php$request_uri; add_header Cache-Control "public, max-age=15778463"; # Add headers to serve security related headers # Before enabling Strict-Transport-Security headers please read into this # topic first. #add_header Strict-Transport-Security "max-age=15768000; includeSubDomains; preload;" always; # # WARNING: Only add the preload option once you read about # the consequences in https://hstspreload.org/. This option # will add the domain to a hardcoded list that is shipped # in all major browsers and getting removed from this list # could take several months. add_header X-Content-Type-Options nosniff; add_header X-XSS-Protection "1; mode=block"; add_header X-Robots-Tag none; add_header X-Download-Options noopen; add_header X-Frame-Options "SAMEORIGIN"; add_header X-Permitted-Cross-Domain-Policies none; add_header Referrer-Policy no-referrer; access_log off; } location ~ \.(?:png|html|ttf|ico|jpg|jpeg|bcmap|mp4|webm)$ { try_files $uri /index.php$request_uri; access_log off; } } What i must do/modify to make this messages disappear? i have already tried to add this but it doesn't work: location ^~ /.well-known { location = /.well-known/carddav { return 301 /remote.php/dav/; } location = /.well-known/caldav { return 301 /remote.php/dav/; } location = /.well-known/webfinger { return 301 /index.php$uri; } location ^~ /.well-known { return 301 /index.php$uri; } try_files $uri $uri/ =404; } Thanks in advance to anyone who wants to help me! Zippi
  2. @Decto and @JorgeB thanx for your quick reply! Now I'm away from home but when I return I check everything. In the meantime I put back on the old SYBA SI-PEX40071 - 8ports SATA3 PCI-E 2X that see all the HDD well 6Gb/s I had tried the ASMedia seeing that it was 4X thinking of improving the speed, I know that however with 8 HDDs connected both 2X and 4X there is the bottleneck but for my needs it was still fine. From the tests I had done I had not seen substantial differences in speed. I remember however that using DiskSpeed it saw the ASMedia as 1X and it seemed strange to me, while it correctly sees the SYBA as 2X. I think I'll move on to LSI SAS 9201-16i (LSI00244) HBA, if I read correctly it should work out of the box. unRaid 6.8.3
  3. Hi everyone, i tried to install this controller: https://www.amazon.it/gp/product/B07L4R5DQM/ref=ppx_yo_dt_b_asin_title_o00_s00?ie=UTF8&psc=1 Chipset ASMedia 1061 - 8 ports Sata III - PCI-E 4X everything works fine with no errors but..... HDD are viewed like this: 4TB WD Red - 6Gb/s - all OK 8TB IronWolf - 6Gb/s - all OK 8TB WD White Label ( shucked ) - 3Gb/s ( !!!!! ) I don't understand why these latest discs set them up like this. I tried to connect them to the motherboard SATA 3 ports and to another controller and obviously they are recognized correctly at 6Gb / s Is there anything else i need to check or set? I do not understand why! Any suggestions are welcome!! Thanx in advance! Zippi
  4. Thank you for your reply. I tried to add these 2 lines of instructions but then nextcloud no longer works, it tells me that the site is not reachable. Is there a specific point where I need to add these lines? Inside the DEFAULT file i've already have these lines: location = /.well-known/carddav { return 301 $scheme://$host:$server_port/remote.php/dav; } location = /.well-known/caldav { return 301 $scheme://$host:$server_port/remote.php/dav; } Do I have to modify these or add the other 2 from before? Thanks again for the help! Zippi
  5. Hello everyone, i installed NextCloud v20 with MariaDB as database. Everything works fine and I was able to eliminate almost all security warnings by following this thread and the Spaceinvader One videos. The only warnings I can't get rid of are these: "Your web server is not properly set up to resolve "/.well-known/caldav". Further information can be found in the documentation." "Your web server is not properly set up to resolve "/.well-known/carddav". Further information can be found in the documentation" I know this has already been mentioned and I found in a post back that a user suggested this: if anyone have the resolve "/.well-known/caldav warning here is how i fix it go to you letsencrypt nginx folder sites-config and add this lines location = /.well-known/carddav {return 301 $ scheme: //$host/remote.php/dav; } location = /.well-known/caldav {return 301 $ scheme: //$host/remote.php/dav; } But I don't have letsencrypt / Swag installed and so I ask: which file should I modify to add these instructions? Thanks in advance! Zippi
  6. Thanks for your quick reply! Zippi
  7. HI, when i add a new disk to unraid and proceed with CLEARING unraid erase everything? Even if there were 2 or more partitions on the disk they are destroyed and 1 disk returns with only one partition all used by unraid? Thanx in advance! Zippi
  8. HI everyone, i have precleared a new 8TB HDD to change the HDD 1 WD RED 4TB with a lot of errors. How much time does it take now to replace the new drive if it has already been PRECLEARED SUCCESSFULLY? Thanx.
  9. The server does not boot, or rather, it starts but does not arrive in unraid. I can't publish the diagnostics because I never get inside unraid to be able to see it. The only thing I can do is leave the new 8TB hdd physically connected to a new SATA 3 port and then select it in the HDD 1 slot and let it rebuild the disk. Doing so I respect all the positions of the slots of the various HDDs and should not lose the data ..... right? If I change the physical connections to the SATA ports of the disks in Unraid but I always respect the slot positions everything remains intact ..... right? Thanx.
  10. I ask for your help. My current configuration is: Parity disk 8TB - Seagate IRONWOLF HDD 1 - WD RED 4TB HDD 2 - WD RED 4TB HDD 3 - WD RED 4TB HDD 4 - WD RED 4TB HDD 5 - WD WHITE LABEL 8TB I wanted to change HDD 1 because it started to report several reading errors even if the "ball" is still green. I bought a new 8TB HDD to replace HDD 1. I followed the usual procedure: . stop array . put NO DEVICE on HDD 1 . POWER DOWN SERVER I replaced HDD 1 with the new 8TB HDD POWER ON and ... nothing does not start, it does not boot. I tried them all. If instead I mount the new HDD 8TB as a new disk instead of physically replacing HDD 1 Unraid part and sees it very well, it also makes me select it instead of HDD 1. But I really wanted to put it physically in place of HDD 1 and maybe after calmly do tests on the old 4TB damaged. Why don't you let me do it? I thought I selected it from the usual drop-down menu and instead it didn't really start. Is it because I haven't done the PRECLEAR yet on the new 8TB HDD? Or else? Thanks in advance for the help.
  11. Ah.... can you tell me why? When I saw it I got scared! Thanks for your patience!!!
  12. When i do LOGOUT and then LOGIN everything works fine but in the LOG TAB i find this and i don't know why...
  13. Thanks, I was trying with firefox and in fact it's ok...
  14. I just installed version 6.4.0 and now the cpu bars have disappeared..........with 6.3.5 everything was ok...