mirror of
https://github.com/hoellen/dockerfiles.git
synced 2026-10-15 21:02:20 +00:00
nextcloud: fix nginx.conf
This commit is contained in:
1 parent
1c449456c2
commit
d627b800af
3 files changed
+3
-6
No files matched your search
@@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user