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
commit2df204cebfc31b8feee3b36c6cf7cfb48efe22a1 (patch)
tree72d19c0fa7797f286c416b6782642c75e1ef19d4 /template/nginx/static-file.conf.template
parente45f657b3b14309dc901661881d3ad4152af9675 (diff)
downloadcrupest-2df204cebfc31b8feee3b36c6cf7cfb48efe22a1.tar.gz
crupest-2df204cebfc31b8feee3b36c6cf7cfb48efe22a1.tar.bz2
crupest-2df204cebfc31b8feee3b36c6cf7cfb48efe22a1.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 {