Skip to content

Commit

Permalink
Fixed nginx dev config
Browse files Browse the repository at this point in the history
  • Loading branch information
TessavWalstijn committed Feb 19, 2024
1 parent 08edf37 commit 4151860
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 7 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# SE Readme Changelog

## [[v2.1.1] - 2024/02/19](https://github.com/squeeble-ink/stackexchange.readme-stats/releases/tag/v2.1.1)

### Fixed

- nginx dev configuration

## [[v2.1.0] - 2024/02/19](https://github.com/squeeble-ink/stackexchange.readme-stats/releases/tag/v2.1.0)

### Added
Expand Down
12 changes: 6 additions & 6 deletions nginx/dev.conf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
upstream shackexchange_readme_stats {
upstream shackexchange_readme_stats_dev {
server 127.0.0.1:2990;
keepalive 8;
}
Expand All @@ -16,7 +16,7 @@ server {
proxy_cache_bypass $http_upgrade;
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;

proxy_pass http://shackexchange_readme_stats/;
proxy_pass http://shackexchange_readme_stats_dev/;
}
}

Expand All @@ -28,7 +28,7 @@ server {

server_name dev-api.squeeble.ink;

access_log /var/log/nginx/shackexchange_readme_stats.log;
access_log /var/log/nginx/shackexchange_readme_stats_dev.log;

location /se {
proxy_http_version 1.1;
Expand All @@ -38,7 +38,7 @@ server {
proxy_cache_bypass $http_upgrade;
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;

proxy_pass http://shackexchange_readme_stats/;
proxy_pass http://shackexchange_readme_stats_dev/;
}
}

Expand All @@ -50,7 +50,7 @@ server {

server_name dev-api.sqbl.me;

access_log /var/log/nginx/shackexchange_readme_stats.log;
access_log /var/log/nginx/shackexchange_readme_stats_dev.log;

location /se {
proxy_http_version 1.1;
Expand All @@ -60,6 +60,6 @@ server {
proxy_cache_bypass $http_upgrade;
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;

proxy_pass http://shackexchange_readme_stats/;
proxy_pass http://shackexchange_readme_stats_dev/;
}
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "stackexchange.readme-stats",
"version": "2.1.0",
"version": "2.1.1",
"description": "Stack Exchange Readme Stats",
"main": "index.js",
"type": "module",
Expand Down

0 comments on commit 4151860

Please sign in to comment.