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:
@ -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/;
|
||||
}
|
||||
|
Reference in New Issue
Block a user