Hello Everyone
When i install nextxloud i go to http://IP_SERVER/nextcloud. In my Chrom see start page wihout NC CSS. I complet form and when i click complet nextcloud redirect to login page but when i try to login it’s nothing happend -> tahat’s my first problem!
Second problem when enable site in /etc/nginx/site-enable/nextcloud i can’t host my other site. When I remove conf nextcloud site in /etc/nginx/site-anable my other site work corectly.
My other App i create in Django
My conf nginx netcloud file:
server {
listen 80;
listen [::]:80;
root /var/www/html/nextcloud;
index index.php index.html index.htm;
server_name name.pl
location / {
rewrite ^ /index.php$uri;
}
location ~ ^/(?:build|tests|config|lib|3rdparty|templates|data)/ {
return 404;
}
location ~ ^/(?:\.|autotest|occ|issue|indie|db_|console) {
return 404;
}
location ~ ^/(?:index|remote|public|cron|core/ajax/update|status|ocs/v[12]|updater/.+|ocs-provider/.+)\.php(?:$|/) {
fastcgi_split_path_info ^(.+\.php)(/.*)$;
fastcgi_pass unix:/var/run/php/php7.3-fpm.sock; # Ubuntu 17.10
# fastcgi_pass unix:/var/run/php/php7.0-fpm.sock; # Ubuntu 17.04
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param PATH_INFO $fastcgi_path_info;
fastcgi_intercept_errors on;
fastcgi_request_buffering off;
}
location ~ ^/(?:updater|ocs-provider)(?:$|/) {
try_files $uri $uri/ =404;
index index.php;
}
location ~* \.(?:svg|gif|png|html|ttf|woff|ico|jpg|jpeg)$ {
try_files $uri http://name.pl/index.php$uri$is_args$args;
access_log off;
}
}
Thank’s for help