ops: use host-managed local service list
This commit is contained in:
@@ -35,7 +35,16 @@ nginx -s stop \
|
||||
|
||||
## Production 443 Proxy
|
||||
|
||||
For port 443, install `deploy/nginx.local-kanban.conf` into the system Nginx site directory and use a trusted certificate. The root domain serves the portal page, and individual apps keep their own ports:
|
||||
For port 443, install `deploy/nginx.local-kanban.conf` into the system Nginx site directory and use a trusted certificate. The root domain serves the host-local service list from `/var/www/local-service-list`, and individual apps keep their own ports. The service-list HTML and CSS are maintained directly in that directory rather than copied from this repo.
|
||||
|
||||
Before installing, make sure these files exist:
|
||||
|
||||
```text
|
||||
/var/www/local-service-list/index.html
|
||||
/var/www/local-service-list/portal.css
|
||||
```
|
||||
|
||||
Then install the Nginx configuration:
|
||||
|
||||
```bash
|
||||
sudo cp deploy/nginx.local-kanban.conf /etc/nginx/sites-available/local-kanban
|
||||
|
||||
@@ -3,7 +3,7 @@ limit_req_zone $binary_remote_addr zone=kanban_login:10m rate=5r/m;
|
||||
server {
|
||||
listen 443 ssl http2;
|
||||
server_name gahow-pc.ipads-lab.se.sjtu.edu.cn;
|
||||
root /var/www/local-kanban-portal;
|
||||
root /var/www/local-service-list;
|
||||
index index.html;
|
||||
|
||||
ssl_certificate /etc/nginx/certs/gahow-pc.fullchain.pem;
|
||||
|
||||
Reference in New Issue
Block a user