Skip to content

Instantly share code, notes, and snippets.

@icarrr

icarrr/bamboo.conf

Created Nov 1, 2019
Embed
What would you like to do?
Bamboo nginx reverse proxy
server {
server_name domain.id;
# NGINX usually only allows 1M per request. Increase this to JIRA's maximum attachment size (10M by default)
client_max_body_size 10M;
access_log /var/log/nginx/bamboo_access.log;
error_log /var/log/nginx/bamboo_error.log warn;
location / {
add_header 'Cache-Control' 'no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0';
expires off;
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://urlServerBamboo:8085;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment