Compare commits

...

6 Commits

Author SHA1 Message Date
Jovan Krunić
4133ff36b7 1.5.0 2022-11-29 18:39:21 +01:00
Jovan Krunić
25e506f54d fix: SVGs treated as plain texts
Closes #14
2022-11-29 16:56:42 +01:00
Rainer Killinger
cbbcc2e5e4 docs: update changelog 2022-11-09 18:23:21 +01:00
Rainer Killinger
3f030fd50f 1.4.1 2022-11-09 18:23:20 +01:00
Rainer Killinger
5f77877bb4 fix: include uri path in json log verbatim 2022-11-09 18:22:35 +01:00
Rainer Killinger
6aea21e81f docs: update changelog 2022-11-09 16:55:44 +01:00
6 changed files with 22 additions and 4 deletions

View File

@@ -1,3 +1,21 @@
## [1.4.1](https://gitlab.com/openstapps/proxy/compare/v1.4.0...v1.4.1) (2022-11-09)
### Bug Fixes
* include uri path in json log verbatim ([5f77877](https://gitlab.com/openstapps/proxy/commit/5f77877bb4239a437ff3f2eea1c0dfd51c7d4818))
# [1.4.0](https://gitlab.com/openstapps/proxy/compare/v1.3.0...v1.4.0) (2022-11-09)
### Features
* add support for log aggregators ([8c49c31](https://gitlab.com/openstapps/proxy/commit/8c49c317603b1a2964708ed377a5a7c687f829cd))
# [1.3.0](https://gitlab.com/openstapps/proxy/compare/v1.2.0...v1.3.0) (2022-08-22)

View File

@@ -3,4 +3,3 @@ add_header 'Access-Control-Allow-Credentials' 'true';
add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS';
add_header 'Access-Control-Allow-Headers' 'DNT,X-Mx-ReqToken,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,X-StApps-Version';
add_header 'Access-Control-Max-Age' 1728000;
add_header 'Content-Type' 'text/plain charset=UTF-8';

View File

@@ -17,7 +17,7 @@ log_format json escape=json '{ "nginx_timestamp": "$time_iso8601_dateTime.$milli
'"request_length": $request_length, '
'"request_time": $request_time, '
'"response_status": $status, '
'"request": "$request", '
'"request_uri": "$request_uri", '
'"request_method": "$request_method", '
'"host": "$host", '
'"upstream_cache_status": "$upstream_cache_status", '

View File

@@ -21,6 +21,7 @@ map $isRateLimited $rateLimit {
limit_req_zone $rateLimit zone=customstappslimit:10m rate=20r/s;
server {
charset utf-8;
error_log stderr;
access_log /dev/stdout {{{ logFormat }}};

2
package-lock.json generated
View File

@@ -1,6 +1,6 @@
{
"name": "@openstapps/proxy",
"version": "1.4.0",
"version": "1.5.0",
"lockfileVersion": 1,
"requires": true,
"dependencies": {

View File

@@ -1,6 +1,6 @@
{
"name": "@openstapps/proxy",
"version": "1.4.0",
"version": "1.5.0",
"description": "NGINX proxy that is dynamically configured by a Node.js script",
"main": "./lib/cli.js",
"dependencies": {