nginx.conf: moves server into http block

This commit is contained in:
2026-06-23 00:06:44 +01:00
parent e04d1e55a1
commit 473f4b19f0
+2 -2
View File
@@ -17,9 +17,8 @@ http {
access_log /var/log/nginx/access.log main; access_log /var/log/nginx/access.log main;
sendfile on; sendfile on;
keepalive_timeout 65; keepalive_timeout 65;
}
server { server {
listen 80; listen 80;
listen [::]:80; listen [::]:80;
server_name joeac.net; server_name joeac.net;
@@ -44,4 +43,5 @@ server {
location ~ /\.sqlite { location ~ /\.sqlite {
deny all; deny all;
} }
}
} }