forked from exozyme/nginx
Replace Drone with Woodpecker CI
This commit is contained in:
parent
90a9282211
commit
7ec4b5ab37
11
drone.conf
11
drone.conf
|
@ -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;
|
|
||||||
}
|
|
||||||
}
|
|
20
woodpecker.conf
Normal file
20
woodpecker.conf
Normal file
|
@ -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;
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in a new issue