Created
October 29, 2015 05:22
-
-
Save nomkhonwaan/673c0775aa316d98c829 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
application: your-project-id | |
version: wordpress | |
runtime: php55 | |
api_version: 1 | |
handlers: | |
- url: /(.*\.(htm|html|css|js))$ | |
static_files: wordpress/\1 | |
upload: wordpress/.*\.(htm|html|css|js)$ | |
application_readable: true | |
- url: /wp-content/(.*\.(ico|jpg|jpeg|png|gif|woff|ttf|otf|eot|svg))$ | |
static_files: wordpress/wp-content/\1 | |
upload: wordpress/wp-content/.*\.(ico|jpg|jpeg|png|gif|woff|ttf|otf|eot|svg)$ | |
application_readable: true | |
- url: /(.*\.(ico|jpg|jpeg|png|gif|woff|ttf|otf|eot|svg))$ | |
static_files: wordpress/\1 | |
upload: wordpress/.*\.(ico|jpg|jpeg|png|gif|woff|ttf|otf|eot|svg)$ | |
application_readable: true | |
- url: /wp-includes/images/media/(.*\.(ico|jpg|jpeg|png|gif|woff|ttf|otf|eot|svg))$ | |
static_files: wordpress/wp-includes/images/media/\1 | |
upload: wordpress/wp-includes/images/media/.*\.(ico|jpg|jpeg|png|gif|woff|ttf|otf|eot|svg)$ | |
application_readable: true | |
- url: /wp-admin/(.+) | |
script: wordpress/wp-admin/\1 | |
secure: always | |
- url: /wp-admin/ | |
script: wordpress/wp-admin/index.php | |
secure: always | |
- url: /wp-login.php | |
script: wordpress/wp-login.php | |
secure: always | |
- url: /wp-cron.php | |
script: wordpress/wp-cron.php | |
login: admin | |
- url: /xmlrpc.php | |
script: wordpress/xmlrpc.php | |
- url: /wp-(.+).php | |
script: wordpress/wp-\1.php | |
- url: /(.+)?/? | |
script: wordpress/index.php | |
skip_files: | |
- ^(.*/)?\.zip$ | |
- ^(.*/)?\.bat$ | |
- ^(.*/)?\.sh$ | |
- ^(.*/)?\.md$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment