question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Upgrade to latest on 2021.04.12 broke upstream generation

See original GitHub issue

Just upgraded to latest (from the latest of approx last week). Now the reverse proxy template seems to no longer generated correctly. After a quick inspection I see nginx -s reload is fired and failing. Inspection of the conf.d/default file reveals that the upstream sections are no longer populated at all.

# heroicdebugging.biz                                                                                                  
upstream heroicdebugging.biz {                                                                                         
}                                                                                                                      
server {                                                                                                               
        server_name heroicdebugging.biz;                                                                               
        listen 80 ;                                                                                                    
        access_log /var/log/nginx/access.log vhost;                                                                    
        # Do not HTTPS redirect Let'sEncrypt ACME challenge                                                            
        location ^~ /.well-known/acme-challenge/ {                                                                     
                auth_basic off;                                                                                        
                auth_request off;                                                                                      
                allow all;                                                                                             
                root /usr/share/nginx/html;                                                                            
                try_files $uri =404;                                                                                   
                break;                                                                                                 
        }                                                                                                              
        location / {                                                                                                   
                return 301 https://$host$request_uri;                                                                  
        }                                                                                                              
}

server {                                                                                                               
        server_name heroicdebugging.biz;                                                                               
        listen 443 ssl http2 ;                                                                                         
        access_log /var/log/nginx/access.log vhost;                                                                    
        ssl_session_timeout 5m;                                                                                        
        ssl_session_cache shared:SSL:50m;                                                                              
        ssl_session_tickets off;                                                                                       
        ssl_certificate /etc/nginx/certs/heroicdebugging.biz.crt;                                                      
        ssl_certificate_key /etc/nginx/certs/heroicdebugging.biz.key;                                                  
        ssl_dhparam /etc/nginx/certs/heroicdebugging.biz.dhparam.pem;                                                  
        ssl_stapling on;                                                                                               
        ssl_stapling_verify on;                                                                                        
        ssl_trusted_certificate /etc/nginx/certs/heroicdebugging.biz.chain.pem;                                        
        add_header Strict-Transport-Security "max-age=31536000" always;                                                
        include /etc/nginx/vhost.d/heroicdebugging.biz;                                                                
        location / {                                                                                                   
                proxy_pass http://heroicdebugging.biz;                                                                 
        }                                                                                          
} 

Any ideas?

//EDIT: Currently looking if maybe the docker update to 20.10.5 is to blame as I don’t see any changes in the repo that should affect generation. // EDIT2: Manually filling in the server blocks restored connectivity

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:13 (5 by maintainers)

github_iconTop GitHub Comments

9reactions
buchdagcommented, Apr 13, 2021

@megamaced does nginxproxy/nginx-proxy:1586 works for you too ?

2reactions
ingwinlucommented, Apr 13, 2021

@ingwinlu could you try nginxproxy/nginx-proxy:1586 ?

works like a charm:

# heroicdebugging.biz
upstream heroicdebugging.biz {
                                ## Can be connected with "bridge" network
                        # nginx_www
                        server 172.17.0.3:80;
}

Feel free to close the issue once its generally available.

Read more comments on GitHub >

github_iconTop Results From Across the Web

FocalFossa/ReleaseNotes/ChangeSummary/20.04.3
This is a brief summary of bugs fixed between Ubuntu 20.04.2 and 20.04.3. This summary covers only changes to packages in main and ......
Read more >
Latest News & Videos, Photos about three gorges dam
Chinese President Xi Jinping congratulated the Baihetan hydropower station for launching the first two generating units, saying as a major p... 28 Jun,...
Read more >
git - Why do I need to do `--set-upstream` all the time?
The default for branch.autosetupmerge means that the upstream configuration for a new branch is only automatically set when creating a branch ...
Read more >
Solr News - Apache Solr
Solr 8.4.1 Release Highlights: Fix for overseer serialization to support rolling upgrade (broken since 8.4); Fix for SSL support with SOLR_SSL_NEED_CLIENT_AUTH ...
Read more >
CDP Technical Note: Accounting of Scope 2 emissions
Updated to take in account new GHG Protocol Scope 2 Guidance and ... Scope 3 emissions include upstream and downstream value chain emissions ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found