nginx-configs/common/woodpeckerci.conf

17 lines
535 B
Plaintext
Raw Normal View History

2022-10-28 01:34:38 +00:00
add_header Onion-Location http://ci.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion$request_uri;
add_header X-I2P-Location http://vernp46vgdvbfjlxibqbmlk2wxckgjvnoj5ixjdkdr2n773mra4a.b32.i2p$request_uri;
2022-09-15 12:18:34 +00:00
location / {
2023-01-01 03:27:00 +00:00
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header Host $http_host;
proxy_pass http://192.168.122.30:8000;
proxy_redirect off;
proxy_http_version 1.1;
proxy_buffering off;
chunked_transfer_encoding off;
2022-09-15 12:18:34 +00:00
}
2023-11-20 07:03:34 +00:00
if ($badagent) {
return 403;
}