diff options
author | crupest <crupest@outlook.com> | 2022-11-27 15:53:02 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2022-11-27 15:53:02 +0800 |
commit | 4fa1f65c5d099971e94f7f5af4c710fe297d9285 (patch) | |
tree | 3de0178b97b26904126056f1010a202fda7a4124 /template/nginx | |
parent | 2dfc42b9bee216ce966fb1b74d3d7d21e0dcbd81 (diff) | |
download | crupest-4fa1f65c5d099971e94f7f5af4c710fe297d9285.tar.gz crupest-4fa1f65c5d099971e94f7f5af4c710fe297d9285.tar.bz2 crupest-4fa1f65c5d099971e94f7f5af4c710fe297d9285.zip |
Enhance nginx config and www page.
Diffstat (limited to 'template/nginx')
-rw-r--r-- | template/nginx/root.conf.template | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/template/nginx/root.conf.template b/template/nginx/root.conf.template index d1cbb45..dfedc81 100644 --- a/template/nginx/root.conf.template +++ b/template/nginx/root.conf.template @@ -7,7 +7,9 @@ server { listen [::]:443 ssl http2; server_name ${CRUPEST_DOMAIN}; - root /srv/www; + location / { + root /srv/www; + } location /api { proxy_http_version 1.1; |