Revize 43ac1718
Přidáno uživatelem Jakub Hlaváč před téměř 4 roky(ů)
nginx.conf | ||
---|---|---|
65 | 65 |
add_header X-Frame-Options SAMEORIGIN always; |
66 | 66 |
|
67 | 67 |
} |
68 |
|
|
69 |
location /analytics { |
|
70 |
proxy_set_header X-Forwarded-Host $host; |
|
71 |
proxy_set_header X-Forwarded-Server $host; |
|
72 |
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; |
|
73 |
#proxy_pass http://<ContainerName>:<PortNumber>; |
|
74 |
# In our case Container name is as we setup in docker-compose `beservice` and port 8080 |
|
75 |
proxy_pass http://51.15.45.95:9090; |
|
76 |
proxy_max_temp_file_size "1024m"; |
|
77 |
proxy_read_timeout "60s"; |
|
78 |
|
|
79 |
add_header X-Frame-Options SAMEORIGIN always; |
|
80 |
|
|
81 |
} |
|
68 | 82 |
} |
69 | 83 |
} |
Také k dispozici: Unified diff
Re #8676 - Definovat analytics API
+ new API endpoints (analytics)