summaryrefslogtreecommitdiff
path: root/nginx
diff options
context:
space:
mode:
authorJoe Carstairs <me@joeac.net>2026-06-29 12:01:49 +0100
committerJoe Carstairs <me@joeac.net>2026-06-29 12:01:49 +0100
commit75ca9d485d3bc98e80396c566278b9db8ba54d4b (patch)
treed70ee7af710851eb0ad7554fde278db5584e77a8 /nginx
parent74dc86d56c823b0c86e323000d168a9cd9988d0f (diff)
adds etherpad module
Diffstat (limited to 'nginx')
-rw-r--r--nginx/http.d/docs.joeac.net.conf26
1 files changed, 26 insertions, 0 deletions
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
+}