infra/roles/webservers/files/levi/http.rainrainra.in.conf
2024-04-27 23:41:11 -04:00

14 lines
241 B
Plaintext

server {
listen 80;
server_name rainrainra.in;
location /.well-known/acme-challenge {
root /var/www/letsencrypt;
try_files $uri $uri/ =404;
}
location / {
rewrite ^ https://rainrainra.in$request_uri? permanent;
}
}