Add the basics of some edge caching

This commit is contained in:
Jake Howard
2024-02-21 21:42:16 +00:00
parent b513c88774
commit 808e72553b
10 changed files with 72 additions and 14 deletions

View File

@ -29,6 +29,12 @@ http {
include includes/proxy.conf;
# Helper variable for proxying websockets.
map $http_upgrade $connection_upgrade {
default upgrade;
'' close;
}
log_format main '$remote_addr - $remote_user [$time_local] "$request" '
'$status $body_bytes_sent "$http_referer" '
'"$http_user_agent" "$http_x_forwarded_for"';