diff --git a/drone.conf b/drone.conf deleted file mode 100644 index 503d912..0000000 --- a/drone.conf +++ /dev/null @@ -1,11 +0,0 @@ -server { - listen 443 ssl http2; - listen [::]:443 ssl http2; - server_name ci.exozy.me; - - include conf.d/ssl; - - location / { - proxy_pass http://localhost:2080; - } -} diff --git a/woodpecker.conf b/woodpecker.conf new file mode 100644 index 0000000..644bcc7 --- /dev/null +++ b/woodpecker.conf @@ -0,0 +1,20 @@ +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + server_name ci.exozy.me; + + include conf.d/ssl; + + location / { + proxy_set_header X-Forwarded-For $remote_addr; + proxy_set_header X-Forwarded-Proto $scheme; + proxy_set_header Host $http_host; + + proxy_pass http://localhost:2080; + proxy_redirect off; + proxy_http_version 1.1; + proxy_buffering off; + + chunked_transfer_encoding off; + } +}