mirror of
https://github.com/hoellen/dockerfiles.git
synced 2025-04-20 04:19:18 +00:00
nextcloud: fix nginx.conf
This commit is contained in:
parent
1c449456c2
commit
d627b800af
@ -32,7 +32,6 @@ http {
|
|||||||
|
|
||||||
server {
|
server {
|
||||||
listen 8888;
|
listen 8888;
|
||||||
index index.php;
|
|
||||||
root /nextcloud;
|
root /nextcloud;
|
||||||
|
|
||||||
client_max_body_size <UPLOAD_MAX_SIZE>;
|
client_max_body_size <UPLOAD_MAX_SIZE>;
|
||||||
@ -107,7 +106,7 @@ http {
|
|||||||
}
|
}
|
||||||
|
|
||||||
location ~* \.(?:svg|gif|png|html|ttf|woff|ico|jpg|jpeg)$ {
|
location ~* \.(?:svg|gif|png|html|ttf|woff|ico|jpg|jpeg)$ {
|
||||||
try_files $uri /nextcloud/index.php$uri$is_args$args;
|
try_files $uri /index.php$uri$is_args$args;
|
||||||
access_log off;
|
access_log off;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -32,7 +32,6 @@ http {
|
|||||||
|
|
||||||
server {
|
server {
|
||||||
listen 8888;
|
listen 8888;
|
||||||
index index.php;
|
|
||||||
root /nextcloud;
|
root /nextcloud;
|
||||||
|
|
||||||
client_max_body_size <UPLOAD_MAX_SIZE>;
|
client_max_body_size <UPLOAD_MAX_SIZE>;
|
||||||
@ -107,7 +106,7 @@ http {
|
|||||||
}
|
}
|
||||||
|
|
||||||
location ~* \.(?:svg|gif|png|html|ttf|woff|ico|jpg|jpeg)$ {
|
location ~* \.(?:svg|gif|png|html|ttf|woff|ico|jpg|jpeg)$ {
|
||||||
try_files $uri /nextcloud/index.php$uri$is_args$args;
|
try_files $uri /index.php$uri$is_args$args;
|
||||||
access_log off;
|
access_log off;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -32,7 +32,6 @@ http {
|
|||||||
|
|
||||||
server {
|
server {
|
||||||
listen 8888;
|
listen 8888;
|
||||||
index index.php;
|
|
||||||
root /nextcloud;
|
root /nextcloud;
|
||||||
|
|
||||||
client_max_body_size <UPLOAD_MAX_SIZE>;
|
client_max_body_size <UPLOAD_MAX_SIZE>;
|
||||||
@ -107,7 +106,7 @@ http {
|
|||||||
}
|
}
|
||||||
|
|
||||||
location ~* \.(?:svg|gif|png|html|ttf|woff|ico|jpg|jpeg)$ {
|
location ~* \.(?:svg|gif|png|html|ttf|woff|ico|jpg|jpeg)$ {
|
||||||
try_files $uri /nextcloud/index.php$uri$is_args$args;
|
try_files $uri /index.php$uri$is_args$args;
|
||||||
access_log off;
|
access_log off;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user