Add draft for autoreadme webhook service

This commit is contained in:
Alexandre Aubin
2021-05-21 18:14:58 +02:00
parent e9c1a7a1d5
commit 5a83fd222f
6 changed files with 125 additions and 0 deletions

View File

@ -0,0 +1,17 @@
location / {
# Force usage of https
if ($scheme = http) {
rewrite ^ https://$server_name$request_uri? permanent;
}
client_max_body_size 100M;
proxy_pass http://127.0.0.1:80123;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "Upgrade";
# preserve client IP
proxy_set_header X-Forwarded-For $remote_addr;
}