Revize b5525aef
Přidáno uživatelem Jakub Hlaváč před více než 3 roky(ů)
nginx.conf | ||
---|---|---|
24 | 24 |
root /usr/share/nginx/html; |
25 | 25 |
} |
26 | 26 |
|
27 |
location /senslog1 { |
|
28 |
proxy_set_header X-Forwarded-Host $host; |
|
29 |
proxy_set_header X-Forwarded-Server $host; |
|
30 |
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; |
|
31 |
#proxy_pass http://<ContainerName>:<PortNumber>; |
|
32 |
# In our case Container name is as we setup in docker-compose `beservice` and port 8080 |
|
33 |
proxy_pass http://51.15.45.95:8080; |
|
34 |
proxy_max_temp_file_size "1024m"; |
|
35 |
proxy_read_timeout "60s"; |
|
36 |
|
|
37 |
add_header X-Frame-Options SAMEORIGIN always; |
|
38 |
|
|
39 |
} |
|
40 |
|
|
41 |
location /senslog-lite2/rest { |
|
42 |
proxy_set_header X-Forwarded-Host $host; |
|
43 |
proxy_set_header X-Forwarded-Server $host; |
|
44 |
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; |
|
45 |
#proxy_pass http://<ContainerName>:<PortNumber>; |
|
46 |
# In our case Container name is as we setup in docker-compose `beservice` and port 8080 |
|
47 |
proxy_pass http://51.15.45.95:8080; |
|
48 |
proxy_max_temp_file_size "1024m"; |
|
49 |
proxy_read_timeout "60s"; |
|
50 |
|
|
51 |
add_header X-Frame-Options SAMEORIGIN always; |
|
52 |
|
|
53 |
} |
|
54 |
|
|
55 |
location /api/SensLogV1/OGCSensorThings { |
|
56 |
proxy_set_header X-Forwarded-Host $host; |
|
57 |
proxy_set_header X-Forwarded-Server $host; |
|
58 |
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; |
|
59 |
#proxy_pass http://<ContainerName>:<PortNumber>; |
|
60 |
# In our case Container name is as we setup in docker-compose `beservice` and port 8080 |
|
61 |
proxy_pass http://51.15.45.95:9080; |
|
62 |
proxy_max_temp_file_size "1024m"; |
|
63 |
proxy_read_timeout "60s"; |
|
64 |
|
|
65 |
add_header X-Frame-Options SAMEORIGIN always; |
|
66 |
|
|
67 |
} |
|
68 |
|
|
69 | 27 |
location /analytics { |
70 | 28 |
proxy_set_header X-Forwarded-Host $host; |
71 | 29 |
proxy_set_header X-Forwarded-Server $host; |
Také k dispozici: Unified diff
Re #8850 - Ověření funkčnosti - implementované enpointy
+ new use case add position to unit+ adding sensor type enum from backend endpoint
+ some form validation :)
- removing all endpoints from /senslog1