aboutsummaryrefslogtreecommitdiff
path: root/template/nginx/static-file.conf.template
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2022-11-28 19:02:24 +0800
committercrupest <crupest@outlook.com>2022-11-28 19:02:24 +0800
commit2d0a25da57d201ea76d2cbdc30f6d33cd76c95f8 (patch)
tree72d19c0fa7797f286c416b6782642c75e1ef19d4 /template/nginx/static-file.conf.template
parent910d03208b8696483a200e4d25b1a332110c1ef5 (diff)
downloadcrupest-2d0a25da57d201ea76d2cbdc30f6d33cd76c95f8.tar.gz
crupest-2d0a25da57d201ea76d2cbdc30f6d33cd76c95f8.tar.bz2
crupest-2d0a25da57d201ea76d2cbdc30f6d33cd76c95f8.zip
Move blog to hugo.
Diffstat (limited to 'template/nginx/static-file.conf.template')
-rw-r--r--template/nginx/static-file.conf.template6
1 files changed, 3 insertions, 3 deletions
diff --git a/template/nginx/static-file.conf.template b/template/nginx/static-file.conf.template
index e35ccf3..3022886 100644
--- a/template/nginx/static-file.conf.template
+++ b/template/nginx/static-file.conf.template
@@ -3,9 +3,9 @@ server {
listen [::]:443 ssl http2;
server_name ${CRUPEST_NGINX_SUBDOMAIN}.${CRUPEST_DOMAIN};
- root ${CRUPEST_NGINX_ROOT};
-
- client_max_body_size 5G;
+ location / {
+ root ${CRUPEST_NGINX_ROOT};
+ }
}
server {