summaryrefslogtreecommitdiff
path: root/roles/private/files/johan/http.backups.internal.simponic.xyz.conf
blob: 47b9ef8c69521d97c7c9d84fd49ffed62d991230 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
server {
  listen 80;
  server_name backups.internal.simponic.xyz;

  location /.well-known/acme-challenge {
    root /var/www/letsencrypt;
    try_files $uri $uri/ =404;
  }

  location / {
    rewrite ^ https://backups.internal.simponic.xyz$request_uri? permanent;
  }
}