HTTP Auth Support
desimaniac edited this page Jul 24, 2018
·
6 revisions
The following guide allows setting up basic HTTP authentication for any subdomain. You can use this to secure Docker web apps that don't have native login support.
To setup HTTP auth for a subdomain:
-
Run the following command:
htpasswd -c /opt/nginx-proxy/htpasswd/SUBDOMAIN.DOMAIN.COM USERNAME
Replacing SUBDOMAIN.DOMAIN.COM with the subdomain and domain that you wish to secure with the given USERNAME.
-
You will then be prompted for a password and asked to confirm.
-
This will create the following encrypted password file:
/opt/nginx-proxy/htpasswd/subdomain.yourdomain.com
. -
Restart the relevant Docker container for the login to take effect
docker restart APPNAME
-
To remove HTTP authentication for a subdomain, simply remove the file from
/opt/nginx-proxy/htpasswd/
and restart the relevant Docker container.
- Overview
- Presumptions
- Server
- Domain Name
- Cloudflare
- Cloud Storage
- Plex / Emby - Account
- Usenet vs. BitTorrent
Cloudbox
- Overview
- Dependencies (Choose only one of these)
- Settings
- Preinstall (Choose only one of these)
- SSH
- Ansible Vault
- Rclone
- Cloudbox (Choose only one of these)
- Application Setup
- Next Steps
Feederbox (do this first)
- Overview
- Dependencies
- Settings
- Preinstall
- SSH
- Ansible Vault
- Rclone
- Feederbox (Choose only one of these)
- Application Setup
- Next Steps
Mediabox
- Overview
- Dependencies
- Settings
- Preinstall
- SSH
- Ansible Vault
- Rclone
- Mediabox (Choose only one of these)
- Application Setup
- Next Steps
- Cloudplow (Media Uploader)
- cb utility script (Develop branch only}
- Updating Cloudbox (Choose only one of these)
- Updating Cloudbox Apps
- Removing Cloudbox Apps
- Resetting Cloudbox Apps
- Migrating Cloudbox
- Settings Updater
- Ansible Vault Primer
- Plex Access Token
- Plex Autoscan Extras
- Pushover
- Google Drive API Client ID and Client Secret
- Useful Docker Commands
- Add Your Own Docker Container into Cloudbox
- Revoking SSL Certificates
- Feeder Mount
- Adding a Subdomain
- HTTP Auth Support
- Emby
- Nextcloud
- Resilio Sync
- Plex DupeFinder
- Heimdall
- NZBHydra v1
- Plex Requests
- Sickbeard MP4 Automator
- SABnzbd
- Traktarr
See Community Wiki.