Browse Source

Feature: Add admin site to default nginx conf

pull/195/head
winkidney 4 years ago
parent
commit
a562d69dfc
1 changed files with 8 additions and 0 deletions
  1. +8
    -0
      docker/nginx/sites-enabled/default

+ 8
- 0
docker/nginx/sites-enabled/default View File

@@ -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;


Loading…
Cancel
Save