diff options
| author | Joe Carstairs <me@joeac.net> | 2026-06-29 09:06:17 +0100 |
|---|---|---|
| committer | Joe Carstairs <me@joeac.net> | 2026-06-29 09:06:17 +0100 |
| commit | 673aaf1c13cfdbec74f99d771ad1d5398dc4613f (patch) | |
| tree | 8f9ae6b4815ba58ca778b40203dff534c4c2f62f /nginx/http.d/joeac.net.conf | |
| parent | c059bc34d8e60fa0c626e41566aa3bb1defe42e1 (diff) | |
installs nginx per module
Diffstat (limited to 'nginx/http.d/joeac.net.conf')
| -rw-r--r-- | nginx/http.d/joeac.net.conf | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/nginx/http.d/joeac.net.conf b/nginx/http.d/joeac.net.conf deleted file mode 100644 index 24b31fb..0000000 --- a/nginx/http.d/joeac.net.conf +++ /dev/null @@ -1,27 +0,0 @@ -server { - server_name joeac.net; - - location / { - proxy_pass http://127.0.0.1:8080; - } - - listen [::]:443 ssl ipv6only=on; # managed by Certbot - listen 443 ssl; # managed by Certbot - ssl_certificate /etc/letsencrypt/live/joeac.net-0001/fullchain.pem; # managed by Certbot - ssl_certificate_key /etc/letsencrypt/live/joeac.net-0001/privkey.pem; # managed by Certbot - include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot - ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot -} - -server { - if ($host = joeac.net) { - return 301 https://$host$request_uri; - } # managed by Certbot - - - listen 80 default_server; - listen [::]:80 default_server; - - server_name joeac.net; - return 404; # managed by Certbot -} |
