eolisation

This commit is contained in:
2020-10-18 22:37:17 +02:00
parent 19f2caedb7
commit c2314b65ea
6 changed files with 159 additions and 0 deletions

20
tmpl/nginx-lemur Normal file
View File

@ -0,0 +1,20 @@
server {
listen 80 default_server;
listen [::]:80 default_server;
location /lemur/api {
proxy_pass http://127.0.0.1:8002/api;
proxy_next_upstream error timeout invalid_header http_500 http_502 http_503 http_504;
proxy_redirect off;
proxy_buffering off;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
location /lemur {
root /usr/share/lemur/static;
include mime.types;
index index.html;
}
}