infra/roles/webservers/files/ryo/http.phoneof.simponic.xyz.conf

14 lines
255 B
Plaintext

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