It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

502 Bad Gateway after server.xml is configured

here is default from sites enabled

server {
       client_max_body_size      11m;
       server_name  wiki.medfarminfo.ru:80;

       access_log  /var/log/nginx/localhost.access.log;

       location / {
               proxy_pass http://localhost:8090/;
               proxy_redirect off;
               proxy_set_header Host $host;
               proxy_set_header X-Real-IP $remote_addr;
               proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
       }

   listen 443 ssl; # managed by Certbot
   ssl_certificate /etc/letsencrypt/live/wiki.medfarminfo.ru/fullchain.pem; # managed by Certbot
   ssl_certificate_key /etc/letsencrypt/live/wiki.medfarminfo.ru/privkey.pem; # managed by Certbot
   include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot
   ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot

}
server {
   if ($host = wiki.medfarminfo.ru) {
       return 301 https://$host$request_uri;
   } # managed by Certbot


       listen   80;
       server_name  wiki.medfarminfo.ru;
=======================================
here is my Connector section of server.xml from confluence conf



        HTTPS - Proxying Confluence via Apache or Nginx over HTTPS

        If you're proxying traffic to Confluence over HTTPS, uncomment the connector below and comment out the others.
        Make sure you provide the right information for proxyName and proxyPort.

        For more information see:
           Apache - https://confluence.atlassian.com/x/PTT3MQ
           nginx  - https://confluence.atlassian.com/x/cNIvMw
        ==============================================================================================================
       -->


       <Connector port="8090" connectionTimeout="20000" redirectPort="8443"
                  maxThreads="48" minSpareThreads="10"
                  enableLookups="false" acceptCount="10" debug="0" URIEncoding="UTF-8"
                  protocol="org.apache.coyote.http11.Http11NioProtocol"
                  scheme="https" secure="true" proxyName="wiki.medfarminfo.ru" proxyPort="443"/>


==================================
cant understand where is problem



0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Posted in Confluence

Lessons and Learnings: Six Months of Working Remote [Discussion]

Hey there, folks! For most of us, the past six months- yes, you read that right- have been a journey. More people than ever before have pivoted to working remotely, and navigating being on-scre...

8,435 views 6 6
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you