hamza82 commited on
Commit
e0fe6c8
·
verified ·
1 Parent(s): 1b5df18

Update nginx.conf

Browse files
Files changed (1) hide show
  1. nginx.conf +2 -2
nginx.conf CHANGED
@@ -13,10 +13,10 @@ server {
13
  try_files $uri $uri/ /index.html;
14
  }
15
 
16
- location /custom-auth/ {
17
  # Serve backend from port
18
  rewrite /custom-auth/(.*) /$1 break;
19
- proxy_pass https://huggingface.co/spaces/hamza82/backend;
20
  proxy_http_version 1.1;
21
  proxy_set_header Upgrade $http_upgrade;
22
  proxy_set_header Connection 'upgrade';
 
13
  try_files $uri $uri/ /index.html;
14
  }
15
 
16
+ location /custom-auth {
17
  # Serve backend from port
18
  rewrite /custom-auth/(.*) /$1 break;
19
+ proxy_pass https://hamza82-test.hf.space/custom-auth;
20
  proxy_http_version 1.1;
21
  proxy_set_header Upgrade $http_upgrade;
22
  proxy_set_header Connection 'upgrade';