server {
listen 443 ssl default_server;
server_name myhost.com;
include /etc/nginx/includes/listen_ssl;
client_max_body_size 100m;
location / {
auth_basic "Restricted Content";
auth_basic_user_file /storage/server/security/.htpasswd;
proxy_pass http://127.0.0.1:8080;
}
}