Maybe a new thread should be started for NC 11+? This one is getting a bit long. Maybe the first post can be an up to date howto with nginx and mysql plugins and possibly proxypass setup (and other popular asked for items)?
Owncloud 8 and MySQL: alternative approach
-
- OMV 2.x
- Enra
-
-
I'd support this idea - was realy hard for me to gather all Infos for an NC11-Installation out of 26 Pages, especially the "outdated" parts...
(but i managed to install NC with this Thread, after all -
Page 25, page 26 have the new Nginx codes for NextCloud.
Page 1 codes are for OwnCloud. It works, but slower than the NC codes.It should be like this:
add_header Strict-Transport-Security "max-age=15768000;
includeSubDomains; preload;";
add_header X-Content-Type-Options nosniff;
add_header X-Frame-Options "SAMEORIGIN";
add_header X-XSS-Protection "1; mode=block";
add_header X-Robots-Tag none;
add_header X-Download-Options noopen;
add_header X-Permitted-Cross-Domain-Policies none;
location = /robots.txt {
log_not_found off;
allow all;
access_log off;
}
# The following 2 rules are only needed for the user_webfinger app.
# Uncomment it if you're planning to use this app.
#rewrite ^/.well-known/host-meta /public.php?service=host-meta last;
#rewrite ^/.well-known/host-meta.json /public.php?service=host-meta-json
# last;
location = /.well-known/carddav {
return 301 $scheme://$host/remote.php/dav;
}
location = /.well-known/caldav {
return 301 $scheme://$host/remote.php/dav;
}
error_page 403 /core/templates/403.php;
error_page 404 /core/templates/404.php;
location / {
rewrite ^ /index.php$uri;
}
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/.+|ocs-provider/.+|core/templates/40[34])\.php(?:$|/) {
include fastcgi_params;
fastcgi_split_path_info ^(.+\.php)(/.*)$;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param PATH_INFO $fastcgi_path_info;
fastcgi_param HTTPS on;
#Avoid sending the security headers twice
fastcgi_param modHeadersAvailable true;
fastcgi_param front_controller_active true;
fastcgi_pass $socket;
fastcgi_intercept_errors on;
}
location ~ ^/(?:updater|ocs-provider)(?:$|/) {
try_files $uri/ =404;
index index.php;
}
# Adding the cache control header for js and css files
# Make sure it is BELOW the PHP block
location ~* \.(?:css|js|woff|svg|gif)$ {
try_files $uri /index.php$uri$is_args$args;
add_header Cache-Control "public, max-age=7200";
add_header Strict-Transport-Security "max-age=15768000;
includeSubDomains; preload;";
add_header X-Content-Type-Options nosniff;
add_header X-Frame-Options "SAMEORIGIN";
add_header X-XSS-Protection "1; mode=block";
add_header X-Robots-Tag none;
add_header X-Download-Options noopen;
add_header X-Permitted-Cross-Domain-Policies none;
# Optional: Don't log access to assets
access_log off;
}
location ~* \.(?:png|html|ttf|ico|jpg|jpeg)$ {
try_files $uri /index.php$uri$is_args$args;
# Optional: Don't log access to other assets
access_log off;
} -
Page 25, page 26 have the new codes for NextCloud.
Page 1 codes are for OwnCloud. It works, but slower than the NC codes.I could tell the info was available. Just thought it would be nice to have everything in the first post and drop all the old owncloud stuff. If someone does this, I will create a video showing the config. Since I don't use OC/NC, I didn't want to go through the pages just to make a video.
-
I Agree.
However, some users prefer use OwnCloud rather than NextCloud.
So I think we should split the NextCloud as a new topic, and keep page 1 for OwnCloud.I can start the NextCloud thread if you want.
-
I can start the NextCloud thread if you want.
Sounds good. Didn't realize people still used owncloud.
-
Hey guys,
since this here helped me a lot and I just got the server up and running fine, I could also do the how-to.
Just let me know!
Thanx a lot anyway. -
-
NextCloud Installation Guide
Here it is. -
I knew I looked at it a while ago. Couldn't find it with search. Thanks.
-
Wo könnte ich anpassen, dass nextcloud egal wie groß die Datei ist - diese trotzdem hochlädt und synchronisiert?
Momentan bekomme ich immer die Fehlermeldung: Request Entity Too Large (413)Habe die Einstellungen aus Seite 25 / 26 übernommen.
In NextCloud selbst habe ich 10GB stehen.
Im Pool habe ich folgendes stehen (siehe Anhang) -
Hi i have followed the steps from the tutorial. When i open the page of the nginx Webserver it comes an Error: 502 (Bad Gateway). How i can fix it?
----------------------------------------------------------------------------------------------------------------------------------------------------------------
Hallo ich habe die Schritte aus dem Tutorial befolgt. Jedoch, wenn ich die Seite aufrufe kommt ein 502 Error Code (Bad Gateway).
Wie kann ich das Problem beheben?Danke im Voraus
-
It could be your incorrect Nextcloud settings.
Go here and read this thread: https://forum.openmediavault.o…xtCloud-Installation-Q-A/
Jetzt mitmachen!
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!