on second thought, lets not have a separate upload server

This commit is contained in:
Luke Berndt
2024-09-08 21:20:11 -04:00
parent 2cbc6929e8
commit 5badfdd09e
7 changed files with 2 additions and 55 deletions

View File

@@ -83,24 +83,3 @@ server {
access_log off;
}
}
server {
listen 80;
server_name upload.${DOMAIN_NAME};
location /.well-known/acme-challenge/ {
root /var/www/certbot;
}
location /~*/upload {
proxy_pass http://backend:3005;
include /etc/nginx/proxy.conf;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header Host $host;
proxy_cache_bypass $http_upgrade;
access_log off;
}
}