summaryrefslogtreecommitdiff
path: root/images/router/nginx/http.off/pad
diff options
context:
space:
mode:
Diffstat (limited to 'images/router/nginx/http.off/pad')
-rw-r--r--images/router/nginx/http.off/pad15
1 files changed, 15 insertions, 0 deletions
diff --git a/images/router/nginx/http.off/pad b/images/router/nginx/http.off/pad
new file mode 100644
index 0000000..4aa0e2e
--- /dev/null
+++ b/images/router/nginx/http.off/pad
@@ -0,0 +1,15 @@
+server {
+ listen 443 ssl;
+ listen [::]:443 ssl;
+
+ server_name pad.tx0.co;
+
+ include snippets/ssl;
+ include snippets/wellknown;
+
+ location / {
+ auth_basic "pad";
+ auth_basic_user_file pad/passwd;
+ proxy_pass http://etherpad;
+ }
+}