@solidxai/solidctl 0.1.13 → 0.1.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@solidxai/solidctl",
3
- "version": "0.1.13",
3
+ "version": "0.1.15",
4
4
  "description": "",
5
5
  "author": "",
6
6
  "private": false,
@@ -1,81 +0,0 @@
1
- server {
2
- listen 80;
3
- server_name venue-admin.logicloop.io;
4
-
5
- # Vite build output
6
- root /opt/gitco/javascript/rnlic-venue-app/new-solid-ui/dist;
7
- index index.html;
8
-
9
- # ----------------------------
10
- # Basic security + hardening
11
- # ----------------------------
12
- add_header X-Content-Type-Options "nosniff" always;
13
- add_header X-Frame-Options "SAMEORIGIN" always;
14
- add_header Referrer-Policy "strict-origin-when-cross-origin" always;
15
-
16
- # If you know you don't need cross-origin embedding, keep SAMEORIGIN.
17
- # If you need stricter CSP later, add it carefully (SPAs can break if too strict).
18
-
19
- # ----------------------------
20
- # Compression (blazing fast)
21
- # ----------------------------
22
- gzip on;
23
- gzip_comp_level 5;
24
- gzip_min_length 1024;
25
- gzip_vary on;
26
- gzip_proxied any;
27
- gzip_types
28
- text/plain
29
- text/css
30
- text/javascript
31
- application/javascript
32
- application/json
33
- application/xml
34
- application/rss+xml
35
- application/atom+xml
36
- image/svg+xml
37
- font/ttf
38
- font/otf
39
- application/vnd.ms-fontobject;
40
-
41
- # ----------------------------
42
- # Cache strategy
43
- # ----------------------------
44
-
45
- # 1) Hashed build assets (Vite typically outputs /assets/* with content hashes)
46
- # Cache for a year, immutable.
47
- location ^~ /assets/ {
48
- try_files $uri =404;
49
- expires 365d;
50
- add_header Cache-Control "public, max-age=31536000, immutable" always;
51
- access_log off;
52
- }
53
-
54
- # 2) Other static files (fonts/images/icons/etc.)
55
- location ~* \.(?:js|css|png|jpg|jpeg|gif|webp|svg|ico|woff2?|ttf|eot|map)$ {
56
- try_files $uri =404;
57
- expires 30d;
58
- add_header Cache-Control "public, max-age=2592000" always;
59
- access_log off;
60
- }
61
-
62
- # 3) Do NOT cache index.html (so new deployments take effect immediately)
63
- location = /index.html {
64
- expires -1;
65
- add_header Cache-Control "no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0" always;
66
- }
67
-
68
- # Optional: service worker must not be cached aggressively (if you use one)
69
- location ~* /(service-worker\.js|sw\.js)$ {
70
- expires -1;
71
- add_header Cache-Control "no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0" always;
72
- }
73
-
74
- # ----------------------------
75
- # SPA fallback
76
- # ----------------------------
77
- location / {
78
- # Serve file if it exists, otherwise fall back to SPA entry
79
- try_files $uri $uri/ /index.html;
80
- }
81
- }