Skip to content

Commit

Permalink
Merge branch 'fix_endpoint_filtering' into staging
Browse files Browse the repository at this point in the history
  • Loading branch information
kaliif committed Nov 22, 2023
2 parents 3bb7747 + 1b53894 commit 2170020
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ WORKDIR /code

COPY nginx.conf /etc/nginx/nginx.conf
COPY django_nginx.conf /etc/nginx/sites-available/default.conf
COPY proxy_params /etc/nginx/frag_proxy_params
COPY requirements.txt ./

RUN ln -s /etc/nginx/sites-available/default.conf /etc/nginx/sites-enabled && \
Expand Down
2 changes: 1 addition & 1 deletion django_nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ server {
server_name ~^(.+)$;

# L2 - Test
include proxy_params;
include frag_proxy_params;
proxy_redirect off;

location = /favicon.ico { access_log off; log_not_found off; }
Expand Down
2 changes: 1 addition & 1 deletion proxy_params
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
proxy_set_header Host $http_host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-Proto https;
proxy_read_timeout 120s;
proxy_send_timeout 120s;
proxy_connect_timeout 120s;

0 comments on commit 2170020

Please sign in to comment.