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

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

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