Skip to content

Instantly share code, notes, and snippets.

@suciuvlad
Last active June 26, 2018 09:33
Show Gist options
  • Select an option

  • Save suciuvlad/778483af78ea38610eebfc265186a1f7 to your computer and use it in GitHub Desktop.

Select an option

Save suciuvlad/778483af78ea38610eebfc265186a1f7 to your computer and use it in GitHub Desktop.
jira and confluence nginx
http {
server {
listen 80;
server_name jira.domain.com;
location / {
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-Server $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_pass http://127.0.0.1:8080;
client_max_body_size 10M;
}
}
}
@suciuvlad
Copy link
Copy Markdown
Author

Connector config

<Connector port="8080" maxThreads="150" minSpareThreads="25" connectionTimeout="20000" enableLookups="false" maxHttpHeaderSize="8192" protocol="HTTP/1.1" useBodyEncodingForURI="true" redirectPort="8443" acceptCount="100" disableUploadTimeout="true" bindOnInit="false" secure="false" scheme="https" proxyName="jira.domain.com" proxyPort="443 />

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment