spark-server/fullstorynovel-web/nginx-legal.snippet
DESKTOP-L8OUL9F\gfl0034 f941bf4454 feat(web): 补齐官网协议页,并按包名控制会员价格下发
商店审核需要独立的隐私、用户协议和注销页;运营后台也要按应用包名启用或停用价格。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-11 21:32:53 +08:00

33 lines
983 B
Plaintext

# Insert inside the fullstorynovel.com :8443 server, before "location /" that proxies to 127.0.0.1:8095.
# BEGIN fsn-site-js
location = /assets/js/site.js {
root /opt/fullstorynovel/static-override;
try_files /assets/js/site.js =404;
add_header Cache-Control "no-cache";
}
# END fsn-site-js
# BEGIN fsn-home-shell
location = / {
root /opt/fullstorynovel/static-override;
try_files /public-index.html =404;
add_header Cache-Control "no-cache";
}
# END fsn-home-shell
# BEGIN fsn-legal-pages
location = /privacy {
root /opt/fullstorynovel/static-override;
try_files /privacy/index.html =404;
add_header Cache-Control "no-cache";
}
location = /terms {
root /opt/fullstorynovel/static-override;
try_files /terms/index.html =404;
add_header Cache-Control "no-cache";
}
location = /delete {
root /opt/fullstorynovel/static-override;
try_files /delete/index.html =404;
add_header Cache-Control "no-cache";
}
# END fsn-legal-pages