From d67d5ab542550dc26ef9363dce663c35e3801151 Mon Sep 17 00:00:00 2001 From: rflx Date: Wed, 7 Jul 2021 14:13:25 +0300 Subject: [PATCH] Minor improvements --- calibre.html | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/calibre.html b/calibre.html index 086f034..73841d4 100644 --- a/calibre.html +++ b/calibre.html @@ -100,15 +100,12 @@ systemctl start calibre-server

server {
-	listen 80;
-	server_name calibre.example.org;
+    listen 80;
+    client_max_body_size 64M; # to upload large books
+    server_name calibre.example.org;
 	
-    location /calibre {
+    location / {
         proxy_pass http://127.0.0.1:8080;
-        proxy_set_header Host $http_host;
-        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
-        proxy_set_header X-Scheme $scheme;
-        proxy_set_header X-Script-Name /calibre;
     }
 }
@@ -137,7 +134,7 @@ systemctl start calibre-server

- By rflx -- website -- XMR: 48T5XpHTXAZ5Nn8YCypA4aWn1ffQLHJkFGDArXQB6cmrP6cqLY72cu7CR2iq2MmL5Ndu3d47e5MKjGpL4prYgdrTCFAHD9c + Author: rflx -- website -- XMR: 48T5XpHTXAZ5Nn8YCypA4aWn1ffQLHJkFGDArXQB6cmrP6cqLY72cu7CR2iq2MmL5Ndu3d47e5MKjGpL4prYgdrTCFAHD9c