Nginx Proxy Jira Configuration

Source: Internet
Author: User
1. Demand

After installing Jira hope through other servers can also access, or want to share 80 port, then you can proxy Jira through Nginx, because there are a lot of jira in the jump action, so if you use the Jira port is not the default 80 port, Then the URL of the jump is assigned the default port of 80, not the one you want to set.

2. Nginx Configuration

The installation of Nginx is very simple, we directly post the configuration of the server part of the proxy Jira in Nginx.

server {Listen 8000;server_name xxx.xxx.xxx.xxx;access_log/var/log/nginx/access.log;error_log/var/log/nginx/ Error.log, #root html, #index index.html index.htm index.php;port_in_redirect off;location ~* ^.+/. (JPG|JPEG|GIF|PNG|SWF|RAR|ZIP|CSS|JS) $ {  # #static file Rewrite ^ (. *) Http://xxx.xxx.xxx.xxx:8000/$1;break;} Location/{Proxy_pass http://xxx.xxx.xxx.xxx:8000;proxy_redirect          off;  Proxy_set_header        Host $host: $server _port;   # #重点在 $server _portproxy_set_header        x-real-ip $remote _addr;proxy_set_header        x-forwarded-for $proxy _add_x_ Forwarded_for;proxy_max_temp_file_size 0;proxy_connect_timeout 90;proxy_send_timeout 90;proxy_read_timeout 90; Proxy_buffer_size 4k;proxy_buffers 4 32k;proxy_busy_buffers_size 64k;proxy_hide_header Vary;proxy_set_header Accept-encoding ';p roxy_set_header Referer $http _referer;proxy_set_header Cookie $http _cookie;}}

The above describes the Nginx proxy Jira configuration, including the aspects of the content, I hope that the PHP tutorial interested in a friend helpful.

  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.