etc-configs/nginx/sites-available/pbin.zzls.xyz.conf

26 lines
459 B
Plaintext
Executable File

server {
server_name pbin.zzls.xyz;
include configs/general.conf;
location / {
proxy_pass http://localhost:40001;
include configs/proxy.conf;
}
# QUIC
add_header Alt-Svc 'h3=":443"; ma=86400';
listen 443 quic;
listen 443 ssl http2;
include configs/ssl.conf;
}
server {
if ($host = pbin.zzls.xyz) {
return 301 https://$host$request_uri;
}
listen 80;
server_name pbin.zzls.xyz;
}