How to set up Microsoft IIS as a reverse proxy for Bitbucket Server

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

プラットフォームについて: Server および Data Center のみ。この記事は、Server および Data Center プラットフォームのアトラシアン製品にのみ適用されます。

Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Fisheye および Crucible は除く

目的

In the event that an organization wants to set up a simple Microsoft IIS site for the purposes of acting as a reverse proxy for Bitbucket Server, these steps can serve as an example configuration.

ソリューション

  1. Download the following IIS modules if they haven't already been installed/enabled:
  2. Complete installation of the above IIS modules on your IIS server
  3. Create a new site within IIS with the desired name, app pool, physical path and binding
    • The Physical Path shouldn't matter, as we will not be hosting any web content originating from IIS itself.


  4. Within this new site, select the URL Rewrite section
  5. Click Add Rule(s)... in the top right, and select Reverse Proxy
  6. On this new window, input the name/IP of the server that is hosting Bitbucket - along with the port that Bitbucket is listening on. If you are terminating SSL on IIS, be sure to select Enable SSL Offloading
  7. At this point, you should be able to access Bitbucket by navigating to your IIS server at the binding associated with the site created above.

    If you have some issues with Bitbucket UI elements returning the error "400 Bad Request", please make sure that the Application pools related to this application have the "No Managed Code" setting to avoid requests being redirected to .NET framework.


最終更新日: 2023 年 10 月 25 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.