Last active
November 19, 2019 21:59
-
-
Save cluke009/341d607301219e25f0aeabf8de7e4177 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# The configuration of app when it is exposed to the web. | |
web: | |
locations: | |
"/": | |
root: "web" | |
passthru: true | |
rules: | |
'^(.*)$': | |
passthru: '/index.php?routestring=$1' | |
'^(admincp/)$': | |
passthru: '/index.php?routestring=$1' | |
'\.(css|js|gif|jpe?g|png|ttf|eot|woff2?|otf|cast|mp4|json|ico|svg?)$': | |
allow: true | |
expires: 3M | |
'^/robots\.txt$': | |
allow: true | |
'^/sitemap\.xml$': | |
allow: true | |
"/login.php": | |
# The public directory of the app, relative to its root. | |
root: "web" | |
# The front-controller script to send non-static requests to. | |
passthru: '/core/login.php?do=login' | |
"/css.php": | |
# The public directory of the app, relative to its root. | |
root: "web" | |
# The front-controller script to send non-static requests to. | |
passthru: '/core/css.php' | |
"/admincp": | |
# The front-controller script to send non-static requests to. | |
passthru: '/core/admincp/index.php' | |
"/modcp": | |
# The front-controller script to send non-static requests to. | |
passthru: '/core/modcp/index.php' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment