Skip to content

Commit

Permalink
Fix variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
FinemechanicPub committed Sep 24, 2024
1 parent 784ecd2 commit 5c79294
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion infra_deploy/prod/swag/swag_nginx_prod.conf
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ server {

client_max_body_size 50M;

rewrite ^/media/plays/(.+)$ $scheme://$http_name/private-media/plays/$1 permanent;
rewrite ^/media/plays/(.+)$ $scheme://$http_host/private-media/plays/$1 permanent;

location / {
set $next_server http://frontend_prod:3000;
Expand Down
2 changes: 1 addition & 1 deletion infra_deploy/stage/swag/swag_nginx_stage.conf
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ server {
client_max_body_size 50M;

rewrite ^/robots\.txt /robots.test.txt last;
rewrite ^/media/plays/(.+)$ $scheme://$http_name/private-media/plays/$1 permanent;
rewrite ^/media/plays/(.+)$ $scheme://$http_host/private-media/plays/$1 permanent;

location / {
set $next_server http://frontend_stage:3000;
Expand Down
2 changes: 1 addition & 1 deletion infra_deploy/test/nginx/nginx_test.conf
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ server {
client_max_body_size 50M;

rewrite ^/robots\.txt /robots.test.txt last;
rewrite ^/media/plays/(.+)$ $scheme://$http_name/private-media/plays/$1 permanent;
rewrite ^/media/plays/(.+)$ $scheme://$http_host/private-media/plays/$1 permanent;

location / {
resolver 127.0.0.11 valid=20s;
Expand Down

0 comments on commit 5c79294

Please sign in to comment.