sr.ht-nginx/port80.conf

15 lines
179 B
Plaintext

listen 80;
listen [::]:80;
location / {
return 302 https://$server_name$request_uri;
}
location ^~ /.well-known {
root /var/www;
}
location = /robots.txt {
root /var/www;
}