mirror of
https://github.com/Redume/Kekkai.git
synced 2025-02-23 20:51:25 +03:00
chore(nginx): The routes /, /robots.txt, /favicon.ico were moved to nginx for the web microservice. Added html page to the home route
This commit is contained in:
parent
907b614f25
commit
6bae4dabfc
14 changed files with 1480 additions and 28 deletions
|
@ -1,13 +1,3 @@
|
|||
location / {
|
||||
limit_req zone=kekkai burst=4;
|
||||
|
||||
proxy_pass http://server:3000;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
}
|
||||
|
||||
location /api/getRate/ {
|
||||
limit_req zone=kekkai burst=4;
|
||||
|
||||
|
@ -27,11 +17,3 @@ location /api/metadata/ {
|
|||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
}
|
||||
|
||||
location /robots.txt {
|
||||
alias robots.txt;
|
||||
}
|
||||
|
||||
location /favicon.ico {
|
||||
alias assets/logo.png;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue