i think this might work
This commit is contained in:
24
README.md
24
README.md
@@ -500,4 +500,26 @@ For issues and questions, please check the project structure and API documentati
|
||||
- **🔄 Force Reparse Button**: One-click cache clearing and post reparsing
|
||||
- **📊 Enhanced Rust Status**: Real-time parser performance monitoring
|
||||
- **🔍 Improved Log Management**: Better filtering and search capabilities
|
||||
- **📁 Directory Health Monitoring**: Comprehensive file system diagnostics
|
||||
- **📁 Directory Health Monitoring**: Comprehensive file system diagnostics
|
||||
|
||||
## Configuring a Base URL for Proxy Hosting
|
||||
|
||||
If you want to host your app behind a subpath (e.g. `http://localhost:3000/blog/`), set the base URL in `.env.local`:
|
||||
|
||||
```
|
||||
BASE_URL=/blog
|
||||
```
|
||||
|
||||
This will automatically prefix all internal links, API calls, and static assets with `/blog`. Make sure your reverse proxy (e.g. nginx) is configured to forward requests from `/blog` to your app.
|
||||
|
||||
### Example nginx config
|
||||
|
||||
```
|
||||
location /blog/ {
|
||||
proxy_pass http://localhost:3000/blog/;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
}
|
||||
```
|
||||
Reference in New Issue
Block a user