correction eolisation

This commit is contained in:
2020-10-19 15:15:13 +02:00
parent c2314b65ea
commit 730845c861
5 changed files with 19 additions and 24 deletions

View File

@ -1,5 +1,4 @@
%from os import listdir
%set %%dbname = %lemur_db_name
%set %%dbname = %%lemur_db_name
---
dbuser: %%lemur_db_user
dbuser_options:

View File

@ -1,20 +0,0 @@
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;
}
}

15
tmpl/nginx-lemur.conf Normal file
View File

@ -0,0 +1,15 @@
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/ {
alias /usr/share/lemur/static/;
include mime.types;
index index.html;
}