This commit is contained in:
kastov
2025-11-05 22:45:34 +03:00
parent 789c9a40df
commit 0f319dc853

View File

@@ -16,16 +16,20 @@
respond "OK" 200
}
handle @notMainDomain {
@notMainDomain {
not header Host docs.rw
redir https://docs.rw{uri} permanent
}
redir @notMainDomain https://docs.rw{uri} permanent
@mainDomain {
header Host docs.rw
}
handle {
handle @mainDomain {
root * /app/build
encode gzip
try_files {path} /index.html
file_server
try_files {path} /index.html
header {
X-Content-Type-Options "nosniff"