diff options
| author | Joe Carstairs <me@joeac.net> | 2026-08-02 09:36:16 +0100 |
|---|---|---|
| committer | Joe Carstairs <me@joeac.net> | 2026-08-02 09:36:28 +0100 |
| commit | e6bbca473453a8d797060d97fe8ad3e729719b53 (patch) | |
| tree | 3224306c4bf061acdaaaeca889f4881eab28bc54 /nginx/http.d/static.conf.template | |
| parent | 7b75d7532e7b549efbe15c306f91ea67f2a5a4eb (diff) | |
move mox and ln from make to ansible
Diffstat (limited to 'nginx/http.d/static.conf.template')
| -rw-r--r-- | nginx/http.d/static.conf.template | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/nginx/http.d/static.conf.template b/nginx/http.d/static.conf.template deleted file mode 100644 index 4f80be2..0000000 --- a/nginx/http.d/static.conf.template +++ /dev/null @@ -1,22 +0,0 @@ -server { - server_name ${DOMAIN}; - location / { - root ${ROOT}; - try_files $$uri $$uri.html $$uri/index.html =404; - error_page 404 /index.html; - } - listen 443 ssl; - ssl_certificate /etc/letsencrypt/live/${CERTNAME}/fullchain.pem; - ssl_certificate_key /etc/letsencrypt/live/${CERTNAME}/privkey.pem; - include /etc/letsencrypt/options-ssl-nginx.conf; - ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; -} - -server { - if ($$host = ${DOMAIN}) { - return 301 https://$$host$$request_uri; - } # managed by Certbot - server_name ln.joeac.net; - listen 80; - return 404; -} |
