📝 | Fix documentation... again... again.
This commit is contained in:
@@ -74,8 +74,8 @@ server {
|
||||
root /var/www/shelter-plugins;
|
||||
index index.html;
|
||||
|
||||
# Serve plugin directories (each plugin has its own page and files)
|
||||
location /gpt-unslothed {
|
||||
# Serve the main index page and shared resources
|
||||
location / {
|
||||
try_files $uri $uri/ =404;
|
||||
}
|
||||
|
||||
@@ -83,11 +83,6 @@ server {
|
||||
location = /404.html {
|
||||
internal;
|
||||
}
|
||||
|
||||
# Redirect all other requests to 404
|
||||
location / {
|
||||
return 404;
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
@@ -95,7 +90,8 @@ server {
|
||||
|
||||
- Change `plugins.your-domain.com` to your actual domain or IP address
|
||||
- The `try_files` directive lets NGINX auto-detect the correct MIME type for each file (HTML, CSS, JS, JSON)
|
||||
- Each plugin directory is served from its own URL path (e.g., `http://plugins.your-domain.com/gpt-unslothed/`)
|
||||
- The main index is at `http://plugins.your-domain.com/`
|
||||
- Plugin pages are at `http://plugins.your-domain.com/gpt-unslothed/`
|
||||
|
||||
## Step 4: Enable the Site
|
||||
|
||||
|
||||
Reference in New Issue
Block a user