Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Offical apps | Community apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Woodpecker
  3. IPv6 support for Woodpecker agents

IPv6 support for Woodpecker agents

Scheduled Pinned Locked Moved Woodpecker
1 Posts 1 Posters 75 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G
    G
    Günter
    wrote on last edited by
    #1

    Currently the Woodpecker Server gRPC Service is only reachable via IPv4, but my server would also allow IPv6 - if the nginx config within the woodpecker container would allow it.

    Current nginx config at /app/pkg/grpc-nginx.conf looks like this:

    log_format  main    '$remote_addr - $remote_user [$time_local] "$request" '
                        '$status $body_bytes_sent "$http_referer" '
                        '"$http_user_agent"';
    server {
        listen 9090 ssl http2;
    
        ssl_certificate /etc/certs/tls_cert.pem;
        ssl_certificate_key /etc/certs/tls_key.pem;
    
        # https://www.nginx.com/blog/deploying-nginx-plus-as-an-api-gateway-part-3-publishing-grpc-services/#Responding-to-Errors
        include conf.d/errors.grpc_conf;
        default_type application/grpc;
    
        location / {
            grpc_pass grpc://127.0.0.1:9000;
    
            proxy_request_buffering off;
            proxy_buffering off;
    
            proxy_send_timeout  600s;
            proxy_read_timeout  600s;
    
            grpc_send_timeout  600s;
            grpc_read_timeout  600s;
        }
    }
    

    The listen 9090 ssl http2; directive is fine for IPv4. Adding listen [::]:9090 ssl http2; would also allow IPv6 connectivity - I guess.

    Hence:

    
    
    server {
        listen 9090 ssl http2;
        listen [::]:9090 ssl http2;
            
    [...]
    
    1 Reply Last reply
    1

    Hello! It looks like you're interested in this conversation, but you don't have an account yet.

    Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

    With your input, this post could be even better 💗

    Register Login
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Bookmarks
    • Search