1
0
mirror of https://github.com/bitwarden/server.git synced 2025-06-30 07:36:14 -05:00

Add captcha option to Nginx config (#1509)

* Add captcha option to Nginx config

* Fix formatting
This commit is contained in:
Matt Gibson
2021-08-13 09:52:26 -04:00
committed by GitHub
parent 824645250e
commit 6d18f44029
3 changed files with 15 additions and 0 deletions

View File

@ -114,6 +114,16 @@ server {
proxy_pass http://web:5000/sso-connector.html;
}
{{#if Captcha}}
location = /captcha-connector.html {
proxy_pass http://web:5000/captcha-connector.html;
}
location = /captcha-mobile-connector.html {
proxy_pass http://web:5000/captcha-mobile-connector.html;
}
{{/if}}
location /attachments/ {
proxy_pass http://attachments:5000/;
}