| # Source: https://gist.github.com/laurentbel/c4c7696890fc71c8061172a932eb52e4 | |
| server { | |
| listen 3030 default_server; | |
| location / { | |
| auth_basic "Restricted"; | |
| auth_basic_user_file .htpasswd; | |
| proxy_pass http://${FORWARD_HOST}:${FORWARD_PORT}; | |
| proxy_read_timeout 900; | |
| } | |
| } |