ShareX_Storage/nginx_example.conf

16 lines
273 B
Plaintext

upstream filehoster {
server file_hoster:80;
}
server {
listen 443 ssl http2;
server_name your-domain.net;
# ShareX_Storage prefix is /f
location /f/ {
client_max_body_size 100M;
proxy_pass http://filehoster$uri/$server_name;
}
}