mirror of
https://github.com/pinry/pinry.git
synced 2025-11-13 16:45:41 +01:00
Feature: Add admin site to default nginx conf
This commit is contained in:
@@ -21,6 +21,14 @@ server {
|
|||||||
break;
|
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 / {
|
location / {
|
||||||
root /pinry/pinry-spa/dist/;
|
root /pinry/pinry-spa/dist/;
|
||||||
access_log off;
|
access_log off;
|
||||||
|
|||||||
Reference in New Issue
Block a user