From 75ca9d485d3bc98e80396c566278b9db8ba54d4b Mon Sep 17 00:00:00 2001 From: Joe Carstairs Date: Mon, 29 Jun 2026 12:01:49 +0100 Subject: adds etherpad module --- nginx/http.d/docs.joeac.net.conf | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 nginx/http.d/docs.joeac.net.conf (limited to 'nginx/http.d/docs.joeac.net.conf') diff --git a/nginx/http.d/docs.joeac.net.conf b/nginx/http.d/docs.joeac.net.conf new file mode 100644 index 0000000..6b4779a --- /dev/null +++ b/nginx/http.d/docs.joeac.net.conf @@ -0,0 +1,26 @@ +server { + server_name docs.joeac.net; + + location / { + proxy_pass http://localhost:9001; + } + + + listen 443 ssl; # managed by Certbot + ssl_certificate /etc/letsencrypt/live/docs.joeac.net/fullchain.pem; # managed by Certbot + ssl_certificate_key /etc/letsencrypt/live/docs.joeac.net/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 = docs.joeac.net) { + return 301 https://$host$request_uri; + } # managed by Certbot + + + server_name docs.joeac.net; + listen 80; + return 404; # managed by Certbot +} -- cgit v1.2.3