-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Closed
Labels
0. Needs triagePending check for reproducibility or if it fits our roadmapPending check for reproducibility or if it fits our roadmapbugenhancementneeds info
Description
Steps to reproduce
- Install Nextcloud.
- Create nginx config with location for static files
location ~ \.(css|js|svg|woff2?|ico|png)$ {
try_files $uri =404;
}
Expected behaviour
All static resources (as css, js, woff, woff2, svg, etc.) must be separated from PHP backend.
Because current solution very slow. (VPS 1 CPU, 2GB RAM, SSD Drive)
Actual behaviour
Most resources can't be returned as static files with Nginx.
Directive try_files $uri =404; always return 404 for most of files.
Server configuration
Operating system: Archlinux latest
Web server: Nginx 1.15.5
Database: PostgreSQL 10.5
PHP version: 7.2.11
Nextcloud version: 14.0.3
Updated from an older Nextcloud/ownCloud or fresh install: Fresh install
Metadata
Metadata
Assignees
Labels
0. Needs triagePending check for reproducibility or if it fits our roadmapPending check for reproducibility or if it fits our roadmapbugenhancementneeds info