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

28 lines
487 B
Plaintext

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