diff --git a/docker/nginx/sites-enabled/default b/docker/nginx/sites-enabled/default index e3d287e..87a0457 100644 --- a/docker/nginx/sites-enabled/default +++ b/docker/nginx/sites-enabled/default @@ -21,6 +21,14 @@ server { break; } + location /admin { + proxy_set_header Host $host; + proxy_set_header X-Real-IP $remote_addr; + proxy_set_header X-Forwarded-For $remote_addr; + proxy_pass http://localhost:8000; + break; + } + location / { root /pinry/pinry-spa/dist/; access_log off;