| 
															
																@@ -1,8 +1,16 @@ 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 # Simple totp subrequest authentication 
															 | 
															
															 | 
															
																 # Simple totp subrequest authentication 
															 | 
														
													
												
													
														
															| 
															 | 
															
																  
															 | 
															
															 | 
															
																  
															 | 
														
													
												
													
														
															| 
															 | 
															
																 ## Setup 
															 | 
															
															 | 
															
																 ## Setup 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-- Run `new-secret.sh` to create a `.env` file with a random secret and a text file `secret.qr` with the corresponding qr-code for your TOTP mobile app. 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-- Adapt the sample configuration `vdi.example.com_location` and copy it to `vhost.d` of your [reverse-proxy](https://github.com/nginx-proxy/nginx-proxy) 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+``` 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+# build the container image 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+docker compose build 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+ 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+# Popoulate .env file with an random secret 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+# corresponding qr-code for your TOTP mobile app and a text file called secret.qr` 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+./new-secret.sh 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+ 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+# Adapt the sample configuration `vdi.example.com_location` and copy it to `vhost.d` of your [reverse-proxy](https://github.com/nginx-proxy/nginx-proxy) 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+``` 
															 | 
														
													
												
													
														
															| 
															 | 
															
																  
															 | 
															
															 | 
															
																  
															 | 
														
													
												
													
														
															| 
															 | 
															
																 ## Credits: 
															 | 
															
															 | 
															
																 ## Credits: 
															 | 
														
													
												
													
														
															| 
															 | 
															
																   - Based on [newhouseb/nginxwebauthn](https://github.com/newhouseb/nginxwebauthn) 
															 | 
															
															 | 
															
																   - Based on [newhouseb/nginxwebauthn](https://github.com/newhouseb/nginxwebauthn) 
															 |