📝 | Fix documentation... again... again.
This commit is contained in:
@@ -74,8 +74,8 @@ server {
|
|||||||
root /var/www/shelter-plugins;
|
root /var/www/shelter-plugins;
|
||||||
index index.html;
|
index index.html;
|
||||||
|
|
||||||
# Serve plugin directories (each plugin has its own page and files)
|
# Serve the main index page and shared resources
|
||||||
location /gpt-unslothed {
|
location / {
|
||||||
try_files $uri $uri/ =404;
|
try_files $uri $uri/ =404;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -83,11 +83,6 @@ server {
|
|||||||
location = /404.html {
|
location = /404.html {
|
||||||
internal;
|
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
|
- 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)
|
- 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
|
## Step 4: Enable the Site
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user