aboutsummaryrefslogtreecommitdiff
path: root/deploy
diff options
context:
space:
mode:
authorJason McCormick <jason@mfamily.org>2026-10-16 17:43:03 -0400
committerJason McCormick <jason@mfamily.org>2026-10-16 17:43:03 -0400
commit67383e6863fcff8b49e680b5b861b3154f8cb518 (patch)
treed5c09bf85857783eb7a50dfff6cb47e80bd88118 /deploy
parent7edb33c87cb1d3ad3421a6fb33247dc871828d7a (diff)
prod 1
Diffstat (limited to 'deploy')
-rw-r--r--deploy/blind-uploader.service5
-rw-r--r--deploy/nginx-blind-uploader.conf6
2 files changed, 7 insertions, 4 deletions
diff --git a/deploy/blind-uploader.service b/deploy/blind-uploader.service
index 1258131..8bbba05 100644
--- a/deploy/blind-uploader.service
+++ b/deploy/blind-uploader.service
@@ -1,11 +1,12 @@
[Unit]
-Description=Private Drop anonymous image uploader
+Description=Private Drop image uploader
Documentation=file:/opt/blind-uploader/README.md
After=network.target
[Service]
Type=simple
-DynamicUser=yes
+User=www-data
+Group=www-data
WorkingDirectory=/opt/blind-uploader
ExecStart=/usr/bin/python3 /opt/blind-uploader/server.py
Restart=on-failure
diff --git a/deploy/nginx-blind-uploader.conf b/deploy/nginx-blind-uploader.conf
index 0473434..79f7bc7 100644
--- a/deploy/nginx-blind-uploader.conf
+++ b/deploy/nginx-blind-uploader.conf
@@ -1,7 +1,9 @@
# Replace upload.example.com and add your TLS configuration before production use.
server {
- listen 80;
- listen [::]:80;
+ listen 443 ssl;
+ listen [::]:443 ssl;
+ http2 on;
+
server_name upload.example.com;
# Allows a 10 MiB image plus multipart form overhead.