mirror of
https://github.com/versia-pub/frontend.git
synced 2026-06-14 07:29:15 +02:00
ci(build): 💚 Use static web server in Docker container
This commit is contained in:
parent
d9283e4c7e
commit
80ad22c395
4 changed files with 51 additions and 6 deletions
23
sws.toml
Normal file
23
sws.toml
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
[general]
|
||||
|
||||
#### Address & Root dir
|
||||
host = "::"
|
||||
port = 3000
|
||||
root = "/app/public"
|
||||
|
||||
#### Logging
|
||||
log-level = "error"
|
||||
|
||||
#### Cache Control headers
|
||||
cache-control-headers = true
|
||||
|
||||
#### Auto Compression
|
||||
compression = true
|
||||
compression-level = "default"
|
||||
|
||||
#### Error pages
|
||||
# Note: If a relative path is used then it will be resolved under the root directory.
|
||||
page404 = "./404.html"
|
||||
|
||||
#### Page fallback for 404s
|
||||
page-fallback = "./200.html"
|
||||
Loading…
Add table
Add a link
Reference in a new issue