26 lines
468 B
Text
26 lines
468 B
Text
server {
|
|
access_log /var/log/nginx/status.zzls.xyz.log combined;
|
|
server_name status.zzls.xyz;
|
|
include configs/general.conf;
|
|
include configs/security.conf;
|
|
|
|
location / {
|
|
proxy_pass http://127.0.0.1:8080;
|
|
include configs/proxy.conf;
|
|
}
|
|
|
|
# QUIC
|
|
include configs/http3.conf;
|
|
|
|
listen 443 ssl;
|
|
http2 on;
|
|
include configs/ssl.conf;
|
|
|
|
}
|
|
server {
|
|
if ($host = status.zzls.xyz) {
|
|
return 301 https://$host$request_uri;
|
|
}
|
|
listen 80;
|
|
server_name status.zzls.xyz;
|
|
}
|