Skip to content

Commit

Permalink
Removed deprecated Swagger API location in NGINX conf
Browse files Browse the repository at this point in the history
  • Loading branch information
Kseen715 committed Dec 1, 2024
1 parent 10b6f54 commit d921bee
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions nginx/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -51,18 +51,6 @@ server {
proxy_pass http://frontend:3000/;
}

# location /api/swagger/ {
# # Add security headers
# proxy_set_header X-Real-IP $remote_addr;
# proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
# proxy_set_header Host $http_host;

# # Prevent proxy redirects to metadata
# proxy_redirect off;

# proxy_pass http://django:8000/swagger/;
# }

location /api/ {
# Add security headers
proxy_set_header X-Real-IP $remote_addr;
Expand Down

0 comments on commit d921bee

Please sign in to comment.