diff options
author | pikl | 2023-11-22 18:37:51 +0000 |
---|---|---|
committer | pikl | 2023-11-22 18:37:51 +0000 |
commit | 9ca5433a989fd91533784c19e5e1ffce1f1a53dd (patch) | |
tree | d56f0b1c3ff06888d90eae7046cc794a133ba21b /nginx.immich.conf | |
parent | 8e212fa06770f39d859dc6ca8dbdff829b8f0d40 (diff) | |
download | aur-9ca5433a989fd91533784c19e5e1ffce1f1a53dd.tar.gz |
post testing
Diffstat (limited to 'nginx.immich.conf')
-rw-r--r-- | nginx.immich.conf | 18 |
1 files changed, 2 insertions, 16 deletions
diff --git a/nginx.immich.conf b/nginx.immich.conf index a4af11b62912..d839e2d7cb05 100644 --- a/nginx.immich.conf +++ b/nginx.immich.conf @@ -19,12 +19,6 @@ upstream server { keepalive 2; } -upstream web { - server localhost:3000; - # server ${IMMICH_WEB_HOST}; - keepalive 2; -} - server { listen 8080; @@ -63,17 +57,9 @@ server { proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection $connection_upgrade; - location /api { - - rewrite /api/(.*) /$1 break; - - proxy_pass http://server; - # proxy_pass ${IMMICH_SERVER_SCHEME}server; - } - location / { - - proxy_pass http://web; + proxy_pass http://server; # proxy_pass ${IMMICH_WEB_SCHEME}web; } + } |