Skip to content

Commit

Permalink
Maybe working regex
Browse files Browse the repository at this point in the history
  • Loading branch information
cmyui committed Aug 8, 2024
1 parent 239e01d commit 9360669
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sites-enabled/next.conf
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ server {
proxy_pass http://profile_history_service;
}

location ~ /public/api/v1/(authenticate|users)(?!/full) {
location ~ /public/api/v1/(authenticate|users/(\d+)) {
proxy_set_header X-Real-IP $http_CF_Connecting_IP;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $http_host;
Expand Down

0 comments on commit 9360669

Please sign in to comment.