mirror of
https://github.com/AtHeartEngineer/documentation.git
synced 2026-01-08 19:17:55 -05:00
add html rewrite rule
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
http://docs.prylabs.network
|
||||
root * /usr/share/caddy/html
|
||||
file_server
|
||||
try_files {path}.html {path}
|
||||
uri strip_suffix .html
|
||||
rewrite /docs/ /docs/getting-started
|
||||
rewrite /docs /docs/getting-started
|
||||
header Access-Control-Allow-Origin *
|
||||
header Access-Control-Request-Method GET,OPTIONS
|
||||
header Access-Control-Request-Method GET,OPTIONS
|
||||
|
||||
Reference in New Issue
Block a user