Add production deployment, photorealistic movement walls, and fix duplicate influence links.
Configure hosting for gallery.mysuperlab.netcraze.pro and LAN access, enhance movement gallery textures with period-appropriate painted materials, dedupe influenced-by API responses via painting_influence_sources, and refresh several painting image files. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
co-authored by
Cursor
parent
df29848d89
commit
4eead54062
@@ -0,0 +1,22 @@
|
||||
# systemd unit — adjust User, WorkingDirectory, and EnvironmentFile paths.
|
||||
# Install:
|
||||
# sudo cp deploy/gallery.service /etc/systemd/system/gallery.service
|
||||
# sudo systemctl daemon-reload
|
||||
# sudo systemctl enable --now gallery
|
||||
|
||||
[Unit]
|
||||
Description=Art Gallery (Node.js)
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=gallery
|
||||
WorkingDirectory=/opt/Art-gallery
|
||||
Environment=NODE_ENV=production
|
||||
EnvironmentFile=/opt/Art-gallery/.env
|
||||
ExecStart=/usr/bin/node server/index.js
|
||||
Restart=on-failure
|
||||
RestartSec=5
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
@@ -0,0 +1,19 @@
|
||||
# Reverse proxy for gallery.mysuperlab.netcraze.pro → Node on port 3520.
|
||||
# Install: copy to /etc/nginx/sites-available/gallery, symlink sites-enabled, nginx -t && systemctl reload nginx
|
||||
|
||||
server {
|
||||
listen 80;
|
||||
server_name gallery.mysuperlab.netcraze.pro;
|
||||
|
||||
client_max_body_size 20M;
|
||||
|
||||
location / {
|
||||
proxy_pass http://127.0.0.1:3520;
|
||||
proxy_http_version 1.1;
|
||||
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;
|
||||
proxy_read_timeout 120s;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user