chore: update 1 file(s)
This commit is contained in:
14
nginx.conf
14
nginx.conf
@@ -11,6 +11,14 @@ server {
|
|||||||
log_not_found off;
|
log_not_found off;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
location = style.css {
|
||||||
|
try_files /style.css =204;
|
||||||
|
}
|
||||||
|
|
||||||
|
location = chatv2.js {
|
||||||
|
try_files /chatv2.js =204;
|
||||||
|
}
|
||||||
|
|
||||||
# Custom 404 page
|
# Custom 404 page
|
||||||
error_page 404 /404.html;
|
error_page 404 /404.html;
|
||||||
location = /404.html {
|
location = /404.html {
|
||||||
@@ -27,13 +35,7 @@ server {
|
|||||||
try_files /index.html =404;
|
try_files /index.html =404;
|
||||||
}
|
}
|
||||||
|
|
||||||
location = /style.css {
|
|
||||||
internal;
|
|
||||||
}
|
|
||||||
|
|
||||||
location = /chatv2.js {
|
|
||||||
internal;
|
|
||||||
}
|
|
||||||
|
|
||||||
# Proxy API requests to plato.lan (192.168.1.74)
|
# Proxy API requests to plato.lan (192.168.1.74)
|
||||||
location /api/plato/ {
|
location /api/plato/ {
|
||||||
|
|||||||
Reference in New Issue
Block a user