This commit is contained in:
qy117121 2023-03-29 10:33:06 +08:00
parent d47d5e8a16
commit f5045b61f6
45 changed files with 324 additions and 4 deletions

9
nginx/misskey.stpl Normal file → Executable file
View file

@ -20,7 +20,7 @@ server {
include %home%/%user%/conf/web/%domain%/nginx.hsts.conf*;
# Change to your upload limit
client_max_body_size 80m;
client_max_body_size 120m;
# Proxy to Node
location / {
@ -38,7 +38,12 @@ server {
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $connection_upgrade;
add_header X-Cache $upstream_cache_status;
# Cache settings
# proxy_cache cache1;
# proxy_cache_lock on;
# proxy_cache_use_stale updating;
# proxy_force_ranges on;
# add_header X-Cache $upstream_cache_status;
}
include %home%/%user%/conf/web/%domain%/nginx.ssl.conf_*;