realcom@realcom-900X5T:~$ sudo cat /etc/nginx/sites-enabled/default
server {
    listen 80;
    server_name 192.168.50.33;

    location / {
        proxy_pass http://127.0.0.1:5001;
        proxy_set_header Host $host;
        proxy_set_header X-Real-IP $remote_addr;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_set_header X-Forwarded-Proto $scheme;
    }
}
realcom@realcom-900X5T:~$ sudo cat /etc/nginx/conf.d/nas_shares.conf
server {
    listen 80;
    server_name localhost;

    location /share/DATA/ {
        dav_methods PUT DELETE MKCOL COPY MOVE;
        create_full_put_path on;
        root /home/realcom/DATA;
        autoindex on;
        client_max_body_size 0;
    }

    location /share/DATA2/ {
        dav_methods PUT DELETE MKCOL COPY MOVE;
        create_full_put_path on;
        root /home/realcom;
        autoindex on;
        client_max_body_size 0;
    }
}



sudo nginx -t
sudo systemctl reload nginx

