Created
March 6, 2017 14:45
-
-
Save unrivaledcreations/1259888f881c1460a82ebb67f7910773 to your computer and use it in GitHub Desktop.
Fixed locations section of a puphpet/puphpet config.yaml file; demonstrates nginx locations configuration fix.
This file contains 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
locations: | |
nxvl_awesome_location1: | |
location: / | |
try_files: | |
- $uri | |
- $uri/ | |
- /index.php$is_args$args | |
fastcgi: '' | |
fastcgi_index: '' | |
fastcgi_split_path: '' | |
proxy: '' | |
proxy_redirect: '' | |
nxvl_awesome_location2: | |
location: '~ \.php$' | |
try_files: | |
- $uri | |
- $uri/ | |
- /index.php$is_args$args | |
fastcgi: '127.0.0.1:9000' | |
fastcgi_index: index.php | |
fastcgi_split_path: '^(.+\.php)(/.*)$' | |
fast_cgi_params_extra: | |
- 'SCRIPT_FILENAME $request_filename' | |
- 'APP_ENV dev' | |
set: | |
- '$path_info $fastcgi_path_info' | |
proxy: '' | |
proxy_redirect: '' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
See puphpet issue #2598.