infra/roles/webservers/files/levi/http.tunnel.simponic.xyz.conf

14 lines
253 B
Plaintext
Raw Normal View History

2024-02-22 17:59:05 -05:00
server {
listen 80;
server_name tunnel.simponic.xyz;
location /.well-known/acme-challenge {
root /var/www/letsencrypt;
try_files $uri $uri/ =404;
}
location / {
rewrite ^ https://tunnel.simponic.xyz$request_uri? permanent;
}
}