18 lines
366 B
Nginx Configuration File
18 lines
366 B
Nginx Configuration File
upstream trigger-ci {
|
|
server 127.0.0.1:8555;
|
|
}
|
|
|
|
server {
|
|
listen 80;
|
|
server_name mkdocs-server;
|
|
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;
|
|
}
|
|
}
|