19 lines
763 B
Plaintext
19 lines
763 B
Plaintext
|
server {
|
||
|
listen 80;
|
||
|
server_name localhost;
|
||
|
root /var/www/html;
|
||
|
index index.php index.html index.htm;
|
||
|
|
||
|
client_max_body_size 16G;
|
||
|
location ~ ^/(?:index|remote|public|cron|core/ajax/update|status|ocs/v[12]|updater/.+|ocs-provider/.+|core/templates/40[34]).php(?:$|/) {
|
||
|
fastcgi_split_path_info ^(.+.php)(/.*)$;
|
||
|
include fastcgi_params;
|
||
|
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
||
|
fastcgi_param PATH_INFO $fastcgi_path_info;
|
||
|
fastcgi_pass nextcloud:9000;
|
||
|
fastcgi_index index.php;
|
||
|
fastcgi_intercept_errors on;
|
||
|
include fastcgi_params;
|
||
|
}
|
||
|
}
|