Describe what happened
reverse proxy configuration is not taken into account.
I create a poc project, where proxy configuration is done here:
https://github.com/rfauglas/datadogrum_reactnative_poc/blob/main/App.tsx#L73
But It never goes through my nginx reverse proxy.
Please note I could not find any test in the library against proxy configuration, nor code references...
Steps to reproduce the issue:
-
create an Nginx reverse proxy configuration, similar to this:
(here it is with ssl, but I also tried with http...)
`
server {
listen 443 ssl;
listen [::]:443 ssl;
ssl_certificate /etc/nginx/ssl/server.crt;
ssl_certificate_key /etc/nginx/ssl/server.key;
location / {
proxy_pass https://browser-intake-datadoghq.eu:443;
}
}
`
-
setup react native poc as documented in README https://github.com/rfauglas/datadogrum_reactnative_poc
-
launch a reverse proxy
-
trigger some DD events throught the application...
Describe what you expected:
- I expect to see DD Rum requests go through the proxy, it is not the case (I could validate my proxy configuration is ok with curl command). Proxy configuration seems to be ignored.
Additional context
Describe what happened
reverse proxy configuration is not taken into account.
I create a poc project, where proxy configuration is done here:
https://github.com/rfauglas/datadogrum_reactnative_poc/blob/main/App.tsx#L73
But It never goes through my nginx reverse proxy.
Please note I could not find any test in the library against proxy configuration, nor code references...
Steps to reproduce the issue:
create an Nginx reverse proxy configuration, similar to this:
(here it is with ssl, but I also tried with http...)
`
server {
listen 443 ssl;
listen [::]:443 ssl;
ssl_certificate /etc/nginx/ssl/server.crt;
ssl_certificate_key /etc/nginx/ssl/server.key;
location / {
proxy_pass https://browser-intake-datadoghq.eu:443;
}
}
`
setup react native poc as documented in README https://github.com/rfauglas/datadogrum_reactnative_poc
launch a reverse proxy
trigger some DD events throught the application...
Describe what you expected:
Additional context
package.jsonhttps://github.com/rfauglas/datadogrum_reactnative_poc/blob/ea7dc89dceb02030eac8f3b4d92aaf7ec1263591/package.jsonPodfileandPodfile.lockNone (Android only)android/build.gradleandandroid/app/build.gradleandroid/build.gradle https://github.com/rfauglas/datadogrum_reactnative_poc/blob/main/android/build.gradle