Hi community! May be some one can help me?
This is my NGINX config:
server {
listen 80;
server_name my.domain.com;
location / {
return 301 https://$host$request_uri; # HTTPS-redirect
}
}
server {
listen 443 ssl;
server_name my.domain.com;
ssl_certificate /etc/nginx/ssl/ssl-bundle.crt;
ssl_certificate_key /etc/nginx/ssl/server.key;
client_max_body_size 0;
location / {
proxy_pass http://jira:8080; # redirect to Jira container
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}
}
Maybe I need to open some additional port in the container or make additional settings in the NGINX configuration?
Maybe this community post can help as he had a similar issue but between Confluence and JIRA. Solution found may fix your issue.
Solved: Connecting Confluence to Jira for user directory -... (atlassian.com)
Regards
Unfortunately, this is not my case.
I have only Jira in a container.
I analyzed the traffic and logs and see that the Service Desk sends a request to port 443 and i see in logs that the request reaches the container, but ends with error 403.
There is a record of this in the NGINX log and Jira log (access_log.2024-01-08):
"172.19.0.2 893x807752x1 - [08/Jan/2024:14:53:30 +0300] "POST /rest/usermanagement/1/search?entity-type=user&start-index=0&max-results=1&expand=user HTTP/1.0" 403 11812 22 "-" "Apache-HttpClient/4.5.13 (Java/11.0.21)" "-""
But I don’t understand why the error occurs and how to deal with it(
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.