mkdocs-server-from-git/nginx.conf

18 lines
366 B
Nginx Configuration File
Raw Normal View History

2020-06-10 14:50:00 +00:00
upstream trigger-ci {
server 127.0.0.1:8555;
}
server {
listen 80;
server_name mkdocs-server;
2020-06-10 14:50:00 +00:00
root /site;
error_page 404 /404.html;
location /trigger-ci.json {
proxy_pass http://trigger-ci;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $host;
proxy_redirect off;
}
}