Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reverse proxy authentication to Woodpeck and Gitea #176

Closed
wants to merge 4 commits into from

Commits on Mar 19, 2021

  1. Reverse proxy authentication to Woodpeck and Gitea

    This mod adds option to authenticate user using HTTP header set by
    reverse proxy. It forwards specified HTTP header with authenticated
    username in requests to Gitea.
    
    Requirements:
    
    * Gitea must be configured for reverse proxy authentication and
      must accept HTTP header auth in API calls (Gitea fix IB#1107572).
    
    * Woodpecker must use its external host address in status URL-s
      sent to Gitea (Woodpecker fix IB#1107596).
    
    To enable set the following variables in woodpecker server
    environment (woodpecker running behind reverse proxy):
    
    * internal woodpecker server URL, i.e.:
    
      WOODPECKER_HOST_INTERNAL=http://192.168.1.100:8000
    
    * enable reverse proxy auth in woodpecker and forwarding auth
      header to gitea:
    
      WOODPECKER_GITEA_REV_PROXY_AUTH=true
    
    * set name of header with authenticated username (set by
      reverse proxy), i.e.:
    
      WOODPECKER_GITEA_REV_PROXY_AUTH_HEADER=X-Forward-Username
    
    Author-Change-Id: IB#1107569
    pboguslawski committed Mar 19, 2021
    Configuration menu
    Copy the full SHA
    66d8ff7 View commit details
    Browse the repository at this point in the history

Commits on Mar 29, 2021

  1. Missing information about file changes added

    Missing information about file changes added.
    
    Fixes: 66d8ff7
    Author-Change-Id: IB#1107569
    pboguslawski committed Mar 29, 2021
    Configuration menu
    Copy the full SHA
    3888838 View commit details
    Browse the repository at this point in the history
  2. Company name fixed

    Company name fixed.
    
    Fixes: 3888838
    Author-Change-Id: IB#1107569
    pboguslawski committed Mar 29, 2021
    Configuration menu
    Copy the full SHA
    76d1a4a View commit details
    Browse the repository at this point in the history

Commits on Jul 3, 2021

  1. Configuration menu
    Copy the full SHA
    94a4624 View commit details
    Browse the repository at this point in the history