Commit 8a54bab5 authored by Lukas Böhm's avatar Lukas Böhm
Browse files


parent 0d8b8851
......@@ -7,3 +7,58 @@ Eine Tolle Webapp zum Austausch von Dateien
`docker-compose up`
## Traditional Install
git clone
sudo apt update
sudo apt install nginx redis-server certbox
cd /etc/nginx
sudo vim ./sites-available/chiefsend.conf <--- paste the config in there
sudo ln -ls ./sites-available/chiefsend.conf ./sites-enabled/chiefsend.conf
sudo rm -f ./sites-enabled/default
sudo certbot certonly -d
**enable services and stuff**
### nginx config example:
server {
listen 80;
listen [::]:80;
return 301 https://$server_name$request_uri;
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
ssl_certificate /etc/letsencrypt/live/; # managed by Certbot
ssl_certificate_key /etc/letsencrypt/live/; # managed by Certbot
access_log /var/log/nginx/chiefsend_access.log;
if ($http_host !~ "^"){
rewrite ^(.*)$ $scheme://$1 redirect;
client_max_body_size 500M;
proxy_buffer_size 1024k;
proxy_buffers 4 1024k;
proxy_busy_buffers_size 1024k;
location / {
include proxy_params;
proxy_pass http://localhost:5000;
location /static {
alias /home/chief/chiefsend/app/static;
expires 1d;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment