add the proxy arguments

This commit is contained in:
2024-07-22 10:04:17 +01:00
parent 794f73669a
commit 3ceb7a0afd
2 changed files with 16 additions and 3 deletions
+8
View File
@@ -7,6 +7,14 @@ server {
server_name bookstack.tryton.geeraert.eu www.bookstack.tryton.geeraert.eu;
location / {
proxy_pass http://bookstack_backend;
location ~* \.(html|css|jpg|gif|ico|js)$ {
proxy_cache cache;
proxy_cache_key $host$uri$is_args$args;
proxy_cache_valid 200 301 302 30m;
expires 30m;
proxy_pass http://bookstack_backend;
}
}
location /.well-known/acme-challenge/ {
root /var/www/certbot;